aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
AgeCommit message (Collapse)Author
2013-12-05Boilerplate cutenessTom Christie
2013-12-03Remove Content-Type header from empty responses. Fixes #1196Tom Christie
2013-12-03Merge pull request #1250 from Ian-Foote/choice_fieldTom Christie
Add choices to options metadata for ChoiceField.
2013-12-03Adds pre_delete and post_delete hooks onPablo Recio
2013-11-27Updated the assertion message of the ImageField.Omer Katz
2013-11-27Add unittests for ChoiceField metadata.Ian Foote
Rename 'name' to 'display_name'.
2013-11-26Add more context to the ChoiceField metadata.Ian Foote
2013-11-26Add choices to options metadata for ChoiceField.Ian Foote
2013-11-21Merge pull request #1229 from jgomezb/patch-2Tom Christie
Update urlpatterns.py
2013-11-19Added handling of validation errors in PUT-as-create.Krzysztof Jurewicz
Fixes #1035.
2013-11-18Removed the DynamicSerializerView duplicationXavier Ordoquy
2013-11-15Version 2.3.92.3.9Tom Christie
2013-11-14Update urlpatterns.pyjgomezb
Allow numbers in format extension.
2013-11-13Undo version bumpAlex
2013-11-12Bump versionAlex
2013-11-12Merge branch 'master' into allow-aggregate-orderingAlex
2013-11-12Add queryset aggregates to allowed fields in OrderingFilterAlex
2013-11-11Typo on api-guide/fields.md and serializers.pyDoğan Çeçen
2013-11-08Merge pull request #1217 from benpbenp/masterTom Christie
Fix object creation with reverse M2M when related_name unspecified
2013-11-08Fix object creation with reverse M2M when related_name unspecifiedBen Pietravalle
It seems that field.related_query_name() does not return the related_name for reverse M2M relations when related_name is not explicitly set in the M2M field definition. So, change to use obj.get_accessor_name(), where obj is an instance of RelatedObject, as are returned by a model's _meta.get_all_related_many_to_many_objects(), or as in the tuples returned by _meta.get_all_m2m_objects_with_model().
2013-11-08Fixed a regression with ValidationError under Django 1.6Xavier Ordoquy
2013-11-06Drop u'' prefix for python 3.x compatibilityMathieu Pillard
2013-11-05Improve handling of 'empty' values for ChoiceFieldMathieu Pillard
The empty value defaults back to '' (for backwards-compatibility) but is changed automatically to None for ModelSerializers if the `null` property is set on the db field.
2013-10-31Fixed exception handling with YAML and XML parsers.Rob Hudson
2013-10-29minor typoS. Andrew Sheppard
2013-10-24Removed commented-out credits from footer to make django-debug-toolbar work.Jakub Roztočil
The comment, although valid, caused that the Django debug toolbar's injected HTML was partially commented-out and thus the toolbar didn't work as expected.
2013-10-24Added get_filter_backends methodYamila Moreno
2013-10-24Merge pull request #1198 from alexanderlukanin13/form-post-unicodeTom Christie
Fixed UnicodeEncodeError when POST JSON via web interface; added test
2013-10-24Update comment in `get_parser_context`.Tom Christie
2013-10-24Fixed UnicodeEncodeError when POST JSON via web interface; added testalexanderlukanin13
2013-10-22Merge pull request #1187 from ross/paginator_def_valTom Christie
paginator should validate page and provide default
2013-10-21remove stray func from testRoss McFarland
2013-10-21retract the default page stuff.Ross McFarland
better way comming in a seperate pr
2013-10-21Use lookup_url_kwarg in presave if requiredTom Christie
2013-10-21Added . Closes #1188.Tom Christie
2013-10-19paginator should validate page and provide defaultRoss McFarland
- use the standard paginator.validate_number method rather strict_postive_int. - support optional paginator method, default_page_number, to get the default page number rather than hard-coding it to 1 - this allows supporting non-integer based pagination which can be an important performance tweak on extermely large datasets or high request loads - relatively thorough unit tests of the changes
2013-10-17Merge pull request #1170 from craigds/write-into-foreignkey-with-sourceTom Christie
fix writing into foreign key with non-null source
2013-10-17Merge pull request #1112 from tamakisquare/issue-1111Tom Christie
Test case and fix for issue 1111
2013-10-17Merge pull request #1172 from brutasse/fix/return-objectTom Christie
Return object in save_object
2013-10-17Fix a docstring to reflect what the method doesBruno Renié
2013-10-17Fix decimal support with YAMLRendererbadaud_t
2013-10-17Fix typo YAMLRendererTestsbadaud_t
2013-10-16Allow to customize description so that markup can be accepted if needed.Omer Katz
2013-10-15[Fix]: Error with partial=True and validate_<name>Colin Huang
The error occurs when serializer is set with partial=True and a field-level validation is defined on a field, for which there's no corresponding update value in .data
2013-10-11fix ticket link in test docstringCraig de Stigter
2013-10-11fix writing into foreign key with non-null sourceCraig de Stigter
2013-10-10Merge branch 'master' of https://github.com/tomchristie/django-rest-frameworkTom Christie
2013-10-10Merge branch 'html-form-rendering'Tom Christie
2013-10-10Ensure read-only fields don't break with current HTML renderer behaviorTom Christie
2013-10-09Merge pull request #1071 from craigds/field-transform-methodsCarlton Gibson
Feature: add transform_<fieldname> methods to serializers