aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
AgeCommit message (Collapse)Author
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
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-18This fix results in models.NullBooleanField rendering as a checkbox in the ↵dpetzel
browsable API
2013-10-18add test case around ensuring proper field inference for boolean model field ↵dpetzel
types
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
2013-10-04support args on get_object_or_404Henry Clifford
2013-10-03Merge remote-tracking branch 'upstream/master'Philip Douglas
2013-10-03add tests for transform_fieldname methodsCraig de Stigter
2013-10-02Fix rendering of forms and add error rendering on HTML formTom Christie
2013-10-02Serializers can now be rendered directly to HTMLTom Christie
2013-09-26Merge branch 'master' of https://github.com/tomchristie/django-rest-frameworkTom Christie
2013-09-26Allow .template_name attribute specified on view. Closes #1000Tom Christie
2013-09-25Whitespace fixTom Christie
2013-09-25Drop 1.3 supportTom Christie
2013-09-25Merge masterTom Christie
2013-09-23Address pending deprecation of Model._meta.module_name in Django 1.6Markus Kaiserswerth
2013-09-20Correct typo in doc string.Carlton Gibson
2013-09-20Clear cached serializer data on `save()` + test. Fixes #1116.Carlton Gibson
2013-09-15[Add]: CustomValidationTests.test_partial_updateColin Huang
This test is to make sure that validate_<attrname> is not called when partial=True and <attrname> is not found in .data.
2013-09-13Merge pull request #1107 from dpretty/masterTom Christie
Let JSONEncoder handle Numpy data types.
2013-09-14Refs #1109 -- Update docs. Integrate changes from feedback.Tai Lee
2013-09-13Fixed #1105 -- Add hook for custom context in `BrowsableAPIRenderer`.Tai Lee
Replace hard coded response status check with `allow_form` context variable, so that it can be overridden in a custom renderer class.
2013-09-13Typo in strings referring to Python package, django-filter.Rajiv Bose
On skip of django_filters related unit-tests the reason given states the Python package 'django-filters' is not install. However, the Python package required to run django_filters related tests is 'django-filter'.
2013-09-13Merge remote-tracking branch 'upstream/master'Philip Douglas
2013-09-13Try a more localised fix to the data=None problemPhilip Douglas
2013-09-13Let JSONEncoder handle Numpy data types.David Pretty
json.JSONEncoder cannot serialize Numpy data types. Numpy arrays and array scalars have a tolist() method which casts the object to a standard python data type.