aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/generics.py
AgeCommit message (Collapse)Author
2015-01-16More pagination tests & cleanupTom Christie
2015-01-15Tweaks, and add pagination controls for offset/limit.Tom Christie
2015-01-13API tweaks and pagination documentationTom Christie
2015-01-09First pass at 3.1 pagination APITom Christie
2015-01-08remove unused importCraig Blaszczyk
2015-01-07restore Django 404Craig Blaszczyk
2015-01-07prefer single quotes in source and double quotes in user visible strings; ↵Craig Blaszczyk
add some missing full stops to user visible strings
2015-01-07use double quotes in user messagesCraig Blaszczyk
2015-01-07use double quotes for user visible strings; end user visible strings in full ↵Craig Blaszczyk
stops; add some missing translation tags
2015-01-07remove hardcoded page numberCraig Blaszczyk
2015-01-07switch to using format strings in error messages; raise NotFound when ↵Craig Blaszczyk
pagination fails to provide a more useful error message
2015-01-02update error messages for language and consistencyCraig Blaszczyk
2015-01-02fix spelling & grammar errorsCraig Blaszczyk
2014-12-17Serializer API restrictions.Tom Christie
2014-10-01Use six.text_type instead of str everywhereTom Christie
2014-09-26request.data attributeTom Christie
2014-09-24OPTIONS supportTom Christie
2014-09-12Clean up relational fields queryset usageTom Christie
2014-09-11 no longer tightly coupled to private queryset APITom Christie
2014-09-11 no longer tightly coupled to private queryset APITom Christie
2014-09-05Workin onTom Christie
2014-08-29First passTom Christie
2014-08-29Remove unused imports.Tom Christie
2014-08-29`get_paginate_by` no longer takes optional `.queryset`Tom Christie
2014-08-29Remove deprecated generic views.Tom Christie
`MultipleObjectAPIView` and `SingleObjectAPIView` are no longer required.
2014-08-29Minor tidy up.Tom Christie
2014-08-29Remove `.model` usage in tests.Tom Christie
Remove the shortcut `.model` view attribute usage from test cases.
2014-08-29Remove `page_size` argument.Tom Christie
`paginate_queryset` no longer takes an optional `page_size` argument.
2014-08-29Remove `pk_url_field`, `slug_url_field`, `slug_field`.Tom Christie
Closes #1773.
2014-08-29Remove `allow_empty`.Tom Christie
Closes #1774.
2014-08-29Remove `filter_backend`.Tom Christie
Closes #1775.
2014-08-20Deprecate .model attribute on viewsTom Christie
2014-08-19Resolve linting issuesTom Christie
2014-08-19Code linting and added runtests.pyTom Christie
2014-08-19Merge masterTom Christie
2014-08-18Copy filter_backends class attribute before returning it.Tom Christie
2014-08-18Merge pull request #1711 from kdazzle/ModelViewSet-queryset-static-propertyTom Christie
Issue #1707: Add documentation to api-docs.viewsets
2014-07-28Issue #1707 - Add documentation about the caching of `GenericAPIView.queryset`Kyle
to the `queryset` property, `get_queryset()`, and do generic-views.md; remove changes to the viewsets.md documentation from my last commit.
2014-06-23Merge remote-tracking branch 'origin/master' into 2.4.0Xavier Ordoquy
Conflicts: .travis.yml docs/api-guide/viewsets.md rest_framework/serializers.py rest_framework/throttling.py tests/test_generics.py tests/test_serializers.py tox.ini
2014-05-26Add the allow_add_remove parameter to the get_serializer methodkhamaileon
2014-04-13Merge remote-tracking branch 'origin/master' into 2.4.0Xavier Ordoquy
Conflicts: .travis.yml docs/api-guide/fields.md docs/api-guide/routers.md docs/topics/release-notes.md rest_framework/authentication.py rest_framework/serializers.py rest_framework/templatetags/rest_framework.py rest_framework/tests/test_authentication.py rest_framework/tests/test_filters.py rest_framework/tests/test_hyperlinkedserializers.py rest_framework/tests/test_serializer.py rest_framework/tests/test_testing.py rest_framework/utils/encoders.py tox.ini
2014-01-25Fix typo in docstring for post_delete hook.Rodolfo Henrique Carvalho
2013-12-13Merge branch 'master' into 2.4.0Tom Christie
Conflicts: .travis.yml docs/api-guide/routers.md docs/topics/release-notes.md rest_framework/compat.py
2013-12-03Adds pre_delete and post_delete hooks onPablo Recio
2013-10-24Added get_filter_backends methodYamila Moreno
2013-10-22Merge pull request #1187 from ross/paginator_def_valTom Christie
paginator should validate page and provide default
2013-10-21retract the default page stuff.Ross McFarland
better way comming in a seperate pr
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-04support args on get_object_or_404Henry Clifford