aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/generics.py
AgeCommit message (Collapse)Author
2013-09-25Merge masterTom Christie
2013-09-03Added test for OPTIONS before object creation from a PUTEdmond Wong
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-30Merge masterTom Christie
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-27fix for python3Alexander Akhmetov
2013-08-26Added max_paginate_by parameterAlexander Akhmetov
2013-08-21Merge masterTom Christie
2013-08-21If page size query param <= 0, just use default page size.Tom Christie
Closes #1028.
2013-08-21If page size query param <= 0, just use default page size.Tom Christie
Closes #1028
2013-06-27pending deprecations -> deprecatedTom Christie
2013-06-12Typoinglesp
2013-06-05Remove ConfigurationError in favor of Django's ImproperlyConfiguredTom 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-07Support for multiple filter classesTom Christie
2013-05-07allow_empty -> pending deprecation in preference of overridden get_queryset.Tom Christie
2013-04-30Drop out attributeTom Christie
2013-04-29Tweaks for preferring .queryset over .modelTom Christie
2013-04-29fields shortcut on viewsTom Christie
2013-04-292.2's PendingDeprecationWarnings now become DeprecationWarnings. 2.3's ↵Tom Christie
PendingDeprecationWarnings added.
2013-04-25Simplify paginate_queryset methodTom Christie
2013-04-25Cleanup docstringsTom Christie
2013-04-24Various clean up and lots of docsTom Christie
2013-04-23Merge remove-django-genericsTom Christie
2013-04-13Allow overriding get_object to work correctly. Fixes #784Tom Christie
2013-04-11Simplify get_objectTom Christie
2013-04-09Cleaning up around bits of API that will be pending deprecationTom Christie
2013-04-09Cleaning up around bits of API that will be pending deprecationTom Christie
2013-04-09Cleaning up get_object and get_querysetTom Christie
2013-04-09Add lookup_kwargTom Christie
2013-04-09Removed SingleObjectMixin and MultipleObjectMixinTom Christie
2013-04-04TweaksTom Christie
2013-03-18Remove erronous pre_saveTom Christie
2013-03-18Merge branch 'master' into resources-routersTom Christie
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-12Tidy up internal view permission checking logic.Tom Christie
Also document correctly - these methods are now public and will fall under the deprecation policy from now on.
2013-02-12New style object-level permission checksTom Christie
2013-02-06Added a `post_save` hook. Closes #558.Tom Christie
2013-02-06Set many explicitly from mixins. Refs #564.Tom Christie
2013-02-04Cleanup importsTom Christie
Mostly adding `from __future__ import unicode_literals` everywhere.
2013-01-15Merge with latest masterTom Christie
2013-01-02Add `.patch()` method for `RetrieveUpdateAPIView`Tom Christie
2013-01-02Added `RetrieveUpdateAPIView`Tom Christie
2013-01-02Keep API backwards compatible.Tom Christie
2012-12-30Removing Partial Update classesAndrew Hankinson
PATCH methods merged into RetrieveUpdateDestroy class
2012-12-16Adding PATCH support to Django REST FrameworkAndrew Hankinson
2012-12-13added missing lineStephan Groß
2012-12-13added RetrieveUpdateAPIViewStephan Groß
2012-11-16TidyingTom Christie