Alen Mujezinovic
0a167a54fd
Added an additional attribute unknown_form_fields
to FormResource
...
If the attribute is set to `True`, the validation method will not
raise an `ErrorResponse` with status 400 but silently strip out
unexpected fields on the form and only return the validated data.
2012-01-17 11:01:32 +00:00
Tom Christie
904f197474
Replace field-errors with field_errors
2011-12-30 15:33:13 +00:00
Tom Christie
07349597ab
whitespace fixes
2011-12-29 13:31:12 +00:00
Tom Christie
7dcb851c7f
Allow related models to be fully serialized
2011-06-15 14:09:01 +01:00
Tom Christie
412b5fc2d5
Support for nesting resources etc...
...
--HG--
rename : djangorestframework/tests/resources.py => djangorestframework/tests/serializer.py
2011-06-14 18:22:13 +01:00
Tom Christie
370274f564
Allow views to return HttpResponses. Add initial() hook method
2011-05-24 10:27:24 +01:00
Tom Christie
3039f6f6c2
validators tests -> resources tests
2011-05-16 16:52:39 +01:00
Tom Christie
b5b231a874
yet more API cleanup
2011-05-12 15:11:14 +01:00
Tom Christie
d373b3a067
Decouple views and resources
2011-05-04 09:21:17 +01:00
Tom Christie
349ffcaf5f
Rename mixins into Mixin class, rename ResponseException to ErrorResponse, remove NoContent
2011-04-11 16:38:00 +01:00
Tom Christie
a1ed565081
Cleanup
2011-04-11 15:09:52 +01:00
Tom Christie
29db0a60fb
Even more validator tests passing after refactor
2011-04-11 15:06:29 +01:00
Tom Christie
a9df917d10
Lots of validator tests passing after refactor
2011-04-11 15:03:49 +01:00
tom christie tom@tomchristie.com
4687db680c
Refactor to use self.CONTENT to access request body. Get file upload working
2011-04-02 16:32:37 +01:00
tom christie tom@tomchristie.com
805aa03ec1
Yowzers. Final big bunch of refactoring for 0.1 release. Now support Django 1.3's views, admin style api is all polished off, loads of tests, new test project for running the test. All sorts of goodness. Getting ready to push this out now.
2011-02-19 10:26:27 +00:00
tom christie tom@tomchristie.com
fcd7f414c4
Huge stack of refactoring getting stuff into Mixin classes, and loads of tests. Kickass.
2011-02-04 21:52:21 +00:00