aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/generics.py
AgeCommit message (Collapse)Author
2013-05-29Rename test modules to 1.6 styleTom Christie
2013-05-28Raise 404 on incorrect lookup type in URL, not 500. Closes #890.Tom Christie
2013-05-24Clean up OPTIONS implementationTom Christie
2013-05-19removed TODOOscar Vilaplana
2013-05-19removed TODOOscar Vilaplana
2013-05-19removed TODOOscar Vilaplana
2013-05-19fixed tests, added docs, renamed helper methodOscar Vilaplana
2013-05-19s/Single Character/String/Oscar Vilaplana
2013-05-19FIXED TEST FOR: don't expose fields for GET and DELETE - leaving room for ↵Nikolaus Schlemm
parameters like e.g. filter or paginate
2013-05-19Disabled label and help_text in unit test. We should change the test soOscar Vilaplana
that it sets them up.
2013-05-19Integrated status quo of grimborg's awesome humanize_field() for exposing ↵Nikolaus Schlemm
field metadata via OPTIONS :)
2013-05-18HEAD and OPTIONS should not be exposed as actions as discussed in ↵Nikolaus Schlemm
https://github.com/nschlemm/django-rest-framework/commit/a42afa04c38afe25c9032b8ce37b572678b02cf1#commitcomment-3241476
2013-05-18draft for fields' metadata via OPTIONS - needs review and decisionNikolaus Schlemm
2013-05-18Forms in Broseable API support dynamic serializers based on request methodTom Christie
2013-05-17Fix PendingDeprecation warnings in testsTom Christie
2013-05-01Example and spelling fixes. Change "browseable" to "browsable" for consistency.Victor Shih
2013-04-17Remove unneccessary tests from #789, and bit of cleanup.Tom Christie
2013-04-14adding test case for generic view with overriden get_object()Johannes Spielmann
2013-03-13force_insert, force_update arguments. Closes #484.Tom Christie
Confirmed by `assertNumQueries(…)` in tests.
2013-03-08Add some simple numQueries tests.Marc Tamlyn
2013-03-08Correcy typo.Marc Tamlyn
2013-03-08GenericAPIView now applies filter_backend for list and retrieve api viewstoran billups
Before this commit only the MultipleObjectAPIView would apply a filter_backend, leaving the SingleObjectAPIView to return objects you might otherwise expect to have been filtered out. It's worth mentioning that when a SingleObjectAPIView makes a request for an object that should be excluded, a 404 is the expected result.
2013-02-27`assertEquals` -> `assertEqual`Tom Christie
2013-02-25Fixed misspelled remark in comments.Omer Katz
2013-02-25Fixed misspelled remark in comments.Omer Katz
2013-02-22Fix and test case for #653Tom Christie
Closes #653
2013-02-22Tests and fix for #666.Tom Christie
Closes #666.
2013-02-07Use new many=True relations style.Tom Christie
2013-02-01Merge branch 'p3k' of https://github.com/linovia/django-rest-framework into ↵Tom Christie
working Conflicts: rest_framework/authentication.py rest_framework/relations.py rest_framework/serializers.py rest_framework/settings.py rest_framework/tests/authentication.py rest_framework/tests/genericrelations.py rest_framework/tests/generics.py rest_framework/tests/relations_hyperlink.py rest_framework/tests/relations_nested.py rest_framework/tests/relations_pk.py rest_framework/tests/serializer.py
2013-01-05deprecate simplejsonJuan Riaza
2013-01-03Move the various compat things to the compat module.Xavier Ordoquy
2013-01-02Merge remote-tracking branch 'reference/py3k' into p3kXavier Ordoquy
2012-12-30Merge branch 'master' of git://github.com/tomchristie/django-rest-framework ↵Andrew Hankinson
into patch-support
2012-12-30Renaming DRFRequestFactory to RequestFactoryAndrew Hankinson
Updated tests to reflect the new name.
2012-12-20Adjust PATCH test cases to use the new DRFRequestFactoryAndrew Hankinson
2012-12-18Fix for pks returning as strings when set in pre_save. Fixes #482. Thanks ↵Tom Christie
to @n8agrin for the bug report.
2012-12-17Fix bug with M2M in browseable APITom Christie
2012-12-16Adding PATCH support to Django REST FrameworkAndrew Hankinson
2012-11-24Every (base) test should now pass with python3.Xavier Ordoquy
2012-11-22First passing test under p3k \o/Xavier Ordoquy
2012-10-31PUT as create should return 201. Fixes #340.Tom Christie
2012-10-29Fix slug based put as create testTom Christie
2012-10-29PUT as create should return 200Tom Christie
2012-10-28Get the correct instanceMarko Tibold
2012-10-28test_put_as_create_on_id_based_url should check for a created-response.Marko Tibold
2012-10-28Added wo tests. One for PUTing on a non-existing id-based url. And another ↵Marko Tibold
for PUTing on a non-existing slug-based url. Fix doctoring for 'test_put_cannot_set_id'.
2012-10-08Fix #285Tom Christie
2012-10-05Support PUT for createTom Christie
2012-10-04HyperlinkedModelSerializer with working HyperlinkedIdentityField, but no ↵Tom Christie
hyperlinked relations
2012-10-03Rename generic viewsTom Christie