aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
AgeCommit message (Collapse)Author
2013-12-10SimpleRouter.get_lookup_regex got lookup_prefixAlan Justino
This allows @alanjds/drf-nested-routers to not duplicate/monkeypatch work made here
2013-12-10Refine model manager behavior so as not to use the behavior in incorrect ↵Tom Christie
cases. Closes #1205
2013-12-09Fix compat issues for #1231Tom Christie
2013-12-09Merge branch 'issue-1231-jsonencoder' of ↵Tom Christie
git://github.com/mbox/django-rest-framework into mbox-issue-1231-jsonencoder
2013-12-09Merge masterTom Christie
2013-12-09Drop unneeded assertTom Christie
2013-12-09Catch and mask ParseErrors that occur during rendering of the BrowsableAPI.Tom Christie
2013-12-06Version 2.3.102.3.10Tom Christie
2013-12-06Raise appropriate error in serializer when making a partial update to set a ↵Chuck Harmston
required RelatedField to null (issue #1158)
2013-12-05Boilerplate cutenessTom Christie
2013-12-03Remove Content-Type header from empty responses. Fixes #1196Tom Christie
2013-12-03First pass at a test for ParseErrors breaking the browsable APITom Christie
2013-12-03Merge pull request #1250 from Ian-Foote/choice_fieldTom Christie
Add choices to options metadata for ChoiceField.
2013-12-03Catch errors during parsing and set empty .DATA/.FILES before re-raising.Tom Christie
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-22Remove u from literalsMalcolm Box
2013-11-21Fix issue #1231: JSONEncoder doesn't handle dict-like objectsMalcolm Box
Check for __getitem__ and then attempt to convert to a dict. The check for __getitem__ is there as there's no universal way to check if an object is a mapping type, but this is a likely proxy
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-18Another fix for nested writable serializers in case of the related_name ↵Xavier Ordoquy
isn’t set on the ForeignKey.
2013-11-17Fixed the nested model serializers in case of the related_name isn’t set.Xavier Ordoquy
2013-11-15add auth param to request client callsPhilip Forget
2013-11-15Version 2.3.92.3.9Tom Christie
2013-11-14pass oauth_timestamp to oauth_providerPhilip Forget
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-24reworked APIException, pushing some of the status_code and detail management ↵Chris Guethle
up. Also, makes the APIException useful in isolation (defaults to status code 500)
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