django-rest-framework/djangorestframework
Sean C. Farley 231b30548b Use the get_queryset from a resource if available
If a resource overrides the default get_queryset(), then
ModelMixin-based classes should use it instead of returning all objects
of the model of the resource.

The new order of returning a queryset is:
1. self._resource.get_queryset()
2. self.resource.queryset
3. self.resource.model.objects.all()
2012-06-29 16:11:43 -04:00
..
runtests Remove ADMIN_MEDIA_PREFIX everywhere 2012-02-21 22:13:41 +00:00
static/djangorestframework/css Move stylesheet references to the new relative namespace 2012-02-14 14:50:11 +09:00
templates/djangorestframework Remove staticviews. Use standard login/logout 2012-02-21 22:50:41 +00:00
templatetags Chase changes to URLObject's API in v2.0.0 2012-02-20 12:56:27 -05:00
tests Test for issue #178. 2012-02-23 16:28:01 -08:00
utils Remove unused 'staticviews' 2012-02-23 09:22:37 +00:00
__init__.py Version 0.4.0-dev 2012-02-23 09:29:51 +00:00
authentication.py Fix UserLoggedInAuthentication for POST requests. 2012-01-24 19:26:37 +00:00
compat.py Fixes #94. Thanks @natim. Only Markdown 2.0+ is supported currently. 2012-04-11 23:13:04 +02:00
mixins.py Use the get_queryset from a resource if available 2012-06-29 16:11:43 -04:00
models.py Revert unwanted checkin of models.py 2011-03-03 09:05:27 +00:00
parsers.py Properly catch MultiPartParserError during .parse() 2012-02-22 13:09:09 +00:00
permissions.py Fix typo. 2012-02-11 21:15:06 +00:00
renderers.py Remove staticviews. Use standard login/logout 2012-02-21 22:50:41 +00:00
resources.py Remove InstanceMixin auto-url magicks. 2012-02-23 09:21:01 +00:00
response.py Python docs say inherit from Exception, not BaseException. 2012-02-02 09:05:28 +00:00
reverse.py Remove InstanceMixin auto-url magicks. 2012-02-23 09:21:01 +00:00
serializer.py Don't bork if request attribute is not set. 2012-06-28 14:16:30 +02:00
status.py Drop redundant comment. 2012-01-24 17:53:54 +00:00
urls.py Remove staticviews. Use standard login/logout 2012-02-21 22:50:41 +00:00
views.py Remove InstanceMixin auto-url magicks. 2012-02-23 09:21:01 +00:00