aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
AgeCommit message (Collapse)Author
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.
2013-09-12Merge pull request #1097 from mociepka/add_default_order_by_in_filteringTom Christie
Add order_by to the AutoFilterSet
2013-09-12Add missing newline at the end of test filePhilip Douglas
2013-09-12Fix error when serializer gets files but no dataPhilip Douglas
2013-09-11Version 2.3.82.3.8Tom Christie
2013-09-10Tweaks and docs to object-level model permissions.Tom Christie
2013-09-10Merge branch 'master' of git://github.com/bwreilly/django-rest-framework ↵Tom Christie
into bwreilly-master
2013-09-10Add order_by to the AutoFilterSetMichał Ociepka
`AutoFilterSet` should contains `order_by` set to all by default.
2013-09-09better doc for object permissions, drop redundant has_permission callbwreilly
2013-09-09removed unnecessary guardian req and view.action parsingbwreilly
2013-09-07switch to a dedicated filter for read list object permissionsbwreilly
2013-09-07first pass at object level permissions and testsbwreilly
2013-09-07necessary test settings for guardianbwreilly
2013-09-06Support customizable view EXCEPTION_HANDLERAndy Freeland
Add `api_settings.EXCEPTION_HANDLER` to support custom error responses. Fixes #907.
2013-09-06some properly failing tests, set up for standard permissionsbwreilly
2013-09-06added guardian as optional requirement, stubbed out object-level permission ↵bwreilly
class
2013-09-05Merge pull request #1076 from edmondwong/masterTom Christie
Allow OPTIONS to retrieve PUT field metadata on empty objects
2013-09-03Added test for OPTIONS before object creation from a PUTEdmond Wong
2013-08-31Handle case where obj=None in PKRelatedField.field_to_native()Yuri Prezument
Fixes #1072
2013-08-31Regression test for #1072Yuri Prezument
2013-08-30Allow OPTIONS to retrieve PUT field metadata on empty objectsEdmond Wong
This allows OPTIONS to return the PUT endpoint's object serializer metadata when the object hasn't been created yet.
2013-08-30Browsable API tab preferences should be site-wideTom Christie
2013-08-30Fix failing empty serializer testTom Christie
2013-08-30Drop broken placeholder serializations.Tom Christie
2013-08-29Fix multipart error when used via content-type overloadingTom Christie
2013-08-29Merge branch 'master' into display-raw-dataTom Christie
2013-08-29Fix breadcrumb view namesTom Christie
2013-08-29Fix indenting on raw data formsTom Christie
2013-08-29Fix tab preferences on PUT formsTom Christie
2013-08-29Preserve tab preference in cookies.Tom Christie
2013-08-29Include serialized content in raw data form.Tom Christie
2013-08-29Make ChoiceField.from_native() follow IntegerField behaviour on empty valuesMathieu Pillard
2013-08-29Add `override_method` context manager and cleanup.Tom Christie
2013-08-29add transform_<fieldname> methods to serializers, which basically do the ↵Craig de Stigter
opposite of validate_<fieldname> on a per-field basis.
2013-08-28Simplifying raw data renderering supportTom Christie
2013-08-28Throttles now use HTTP_X_FORWARDED_FOR, falling back to REMOTE_ADDR to ↵Tom Christie
identify anonymous requests
2013-08-28Added `.cache` attribute on throttles.Tom Christie
Closes #1066. More localised than a new settings key, and more flexible in that different throttles can use different behavior. Thanks to @chicheng for the report! :)
2013-08-28Tweak MAX_PAGINATE_BY behavior in edge case.Tom Christie
Always respect `paginate_by` settings if client does not specify page size. (Even if the developer has misconfigured, so that `paginate_by > max`.)
2013-08-27Merge branch 'max_paginate_by' of ↵Tom Christie
git://github.com/alexander-akhmetov/django-rest-framework into alexander-akhmetov-max_paginate_by
2013-08-27fix for python3Alexander Akhmetov
2013-08-27Use view.settings for API settings, to make testing easier.Tom Christie
2013-08-27Move exception handler out of main viewTom Christie
2013-08-27Move settings into more sensible orderingTom Christie
2013-08-27First hacky pass at displaying raw dataTom Christie
2013-08-26Added max_paginate_by parameterAlexander Akhmetov