django-rest-framework/djangorestframework
Fernando Zunino 60cd5363ab FIX: ModelViews can have Resources whose models have unique fields.
ReadModelMixin and UpdateModelMixin store model instance as a property. This allows ModelResource to bind the ModelForm using the model instance making the form validate the input data against the model instance and not a brand new instance. When the latter happened and the model used unique fields, the form validation failed whenever a PUT was maintaining the previuos value of the unique field.
2011-07-01 03:32:04 -03:00
..
runtests Tidy up oauth imports slightly 2011-06-30 08:52:55 +01:00
static 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
templates Allow .json .html .xml style urls and also allow these formats to be specified in a "?format=..." query string. 2011-06-26 16:03:36 +02:00
templatetags Fixes github #17 2011-05-27 16:11:06 +01:00
tests Tidy up oauth imports slightly 2011-06-30 08:52:55 +01:00
utils Renderers can now cope with parameterised args. ResponseMixin gets cleaned up & added Renderer.can_handle_response(), mirroring Parsers.can_handle_request() 2011-05-24 13:29:30 +01:00
__init__.py Version 0.2.3 2011-06-15 14:41:53 +01:00
authentication.py Typo. Authenticat<i>on 2011-06-07 14:12:02 +01:00
compat.py Typo in url 2011-06-25 14:58:26 +01:00
mixins.py FIX: ModelViews can have Resources whose models have unique fields. 2011-07-01 03:32:04 -03:00
models.py Revert unwanted checkin of models.py 2011-03-03 09:05:27 +00:00
parsers.py return 400 BAD REQUEST rather than Django traceback/500 error on failed multipart parse 2011-06-29 23:02:00 +02:00
permissions.py Merge throttling and fix up a coupla things 2011-06-15 14:41:09 +01:00
renderers.py Allow .json .html .xml style urls and also allow these formats to be specified in a "?format=..." query string. 2011-06-26 16:03:36 +02:00
resources.py FIX: ModelViews can have Resources whose models have unique fields. 2011-07-01 03:32:04 -03:00
response.py Urg. Fixed bug in assigning headers 2011-06-25 16:13:58 +01:00
serializer.py Decimals are a protected_type - let's leave them up to the renderer to deal with 2011-06-21 23:01:41 +01:00
status.py More tests, getting new serialization into resource 2011-05-10 16:01:58 +01:00
urls.py Decouple views and resources 2011-05-04 09:21:17 +01:00
views.py Remove erronous traceback 2011-06-27 10:30:00 +01:00