aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
AgeCommit message (Collapse)Author
2012-12-13fixed validationerror usageStephan Groß
2012-12-12Clean up field initialization. Fixes #497Tom Christie
2012-12-11Drop left over codeTom Christie
2012-12-11Version 2.1.92.1.9Tom Christie
2012-12-11Fix broken nested fieldsTom Christie
2012-12-11Added depth testGeorge Kappel
2012-12-11Merge pull request #492 from annacoder/masterTom Christie
Making sure the assert does not fail when required=False, read_only=True
2012-12-10Making sure the assert does not fail when required=False, read_only=TrueVenkat
2012-12-10get_excluded_fieldnames() should respect Meta options' ability to be either ↵Marko Tibold
a tuple or list. Fixes #490. Refactored `if self.opt.fields` out of the for loop. Updated and cleaned up the validation-tests.
2012-12-08Version 2.1.82.1.8Tom Christie
2012-12-08Add null related field optionTom Christie
2012-12-08Fix for emptystring as nullable FKTom Christie
2012-12-08More tests for nullable FKsTom Christie
2012-12-08Add test for m2m createTom Christie
2012-12-07Version 2.1.72.1.7Tom Christie
2012-12-07Reverted #458Tom Christie
When incorrect parameters are supplied to the obtain auth token view 400 *is* the correct response.
2012-12-07Support nullable FKs, with blank=TrueTom Christie
2012-12-07Merge pull request #451 from markotibold/#431Tom Christie
Call model's .full_clean() method, eg. to validate uniqueness
2012-12-07Fix AttributeError caused by accessing a non-existing default_keys attribute.Marko Tibold
2012-12-06Merge pull request #470 from minddust/fix-#469Tom Christie
fixed #469 - RegexField <--> BrowsableAPI Bug
2012-12-06Merge pull request #477 from roberts81/masterTom Christie
Fix for #460
2012-12-06Merge branch 'master' of ↵Marko Tibold
https://github.com/tomchristie/django-rest-framework into #431
2012-12-06Merge pull request #474 from justanotherbody/masterTom Christie
Add support for "true" and "false" as BooleanField values
2012-12-06Merge pull request #462 from asfaltboy/modelserializer_traverse_relatedTom Christie
ModelSerializer traverse related
2012-12-06cleaned up white space & docstring stylingBen Roberts
2012-12-05cleaned up last commitBen Roberts
2012-12-05added tests and fix for unpickleable metadata in SortedDictWithMetadataBen Roberts
2012-12-04Added support for 'true'/'false' as valid boolean dataMichael Richards
2012-12-04fixed #469 - RegexField <--> BrowsableAPI BugStephan Groß
2012-12-02Merge pull request #448 from mhsparks/masterTom Christie
Add setter to user property on request object
2012-11-30Merge pull request #458 from asfaltboy/fix_authtoken_responseMarko Tibold
Fix authtoken response
2012-11-30fix test responsePavel Savchenko
2012-11-30add traverse_related feature + tests (fixes issue#461)Pavel Savchenko
2012-11-29Merge pull request #452 from fabianbuechler/patch-1Tom Christie
Renderer negotiation: media_type specificty evaluation weak
2012-11-29fix forgotten 400 testPavel Savchenko
2012-11-29Merge branch 'custom-serializer-form-class' of ↵Marko Tibold
https://github.com/ludwigkraatz/django-rest-framework into mergebranch#390 Conflicts: rest_framework/fields.py rest_framework/renderers.py Manually solved
2012-11-28also update test with response code 401Pavel Savchenko
2012-11-28Better to return 401 when failing to authenticatePavel Savchenko
2012-11-27Added a get_excluded_fieldnames() method.Marko Tibold
Model validation now excludes fields not listed in Meta fields (if set).
2012-11-27Moved model validation from .perform_validation() to .validate()Marko Tibold
2012-11-27Renderer negotiation: media_type specificty evaluation weakFabian Büchler
The `DefaultContentNegotiation` handler uses For example: Google Chrome sends an Accept-header of `Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8`, when I request a *.png URL. After matching the media-types with the available renderers (in my case only a custom `PNGRenderer` with a `media_type='image/png'`), only `*/*;q=0.8` is left, which happens to have the same length as the "image/png" media-type defined by the renderer (9 characters). The specificity of the renderer's media-type over the Accept-header's one is only determined by length. Using your `_MediaType.precedence` would be preferable in my eyes. Regards, Fabian
2012-11-26Added an assertion to the tests that checks the '.errors' value for the ↵Marko Tibold
unique-test
2012-11-24Added setter to user propertyMark Hughes
2012-11-23Version 2.1.6. AKA: I am a doofus.2.1.6Tom Christie
2012-11-23Version 2.1.52.1.5Tom Christie
2012-11-23Typo. Fixes #437.Tom Christie
2012-11-22Merge pull request #439 from irrelative/masterTom Christie
Cache all fields per serializer instance
2012-11-22Added a validate_unique test.Marko Tibold
2012-11-22Cleanup.Marko Tibold
2012-11-22Added _post_clean() behaviour by adding a .perform_model_validation() method.Marko Tibold
Fixed some tests that were failing due to extra strict validation.