-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
query filter support for Restframework2 #290
Closed
benkonrath
wants to merge
97
commits into
encode:restframework2
from
onepercentclub:restframework2-filter
Closed
query filter support for Restframework2 #290
benkonrath
wants to merge
97
commits into
encode:restframework2
from
onepercentclub:restframework2-filter
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getattr(self,'parent',self). This fixes it.
Small patch to allow RawQuerySet serialization
Related serializers may need access to the request to properly serialize a child resource. For example, reverse() in djangorestframework.reverse uses request if available to return an absolute URL. While the parent resource has access to the request to generate the absolute URL, the child resource does not.
Pass request to related serializers
…ary on the client (i.e. jQuery) is sending an XMLHttpRequest
Implements Accept headers from IE in the case describe in Issue 215
…eturns its error in the 'detail' key instead of in the 'error' key (for consistency with all other errors).
add_query_param should preserve previous querystring
…has no attribute 'get')
support utf8 description
add View.head() method at runtime (issue #228)
Modify 415 error content
Fix documentation link.
Update README.rst
Conflicts: .gitignore .travis.yml AUTHORS README.rst djangorestframework/mixins.py djangorestframework/renderers.py djangorestframework/resources.py djangorestframework/serializer.py djangorestframework/templates/djangorestframework/base.html djangorestframework/templates/djangorestframework/login.html djangorestframework/templatetags/add_query_param.py djangorestframework/tests/accept.py djangorestframework/tests/authentication.py djangorestframework/tests/content.py djangorestframework/tests/reverse.py djangorestframework/tests/serializer.py djangorestframework/views.py docs/examples.rst docs/examples/blogpost.rst docs/examples/modelviews.rst docs/examples/objectstore.rst docs/examples/permissions.rst docs/examples/pygments.rst docs/examples/views.rst docs/howto/alternativeframeworks.rst docs/howto/mixin.rst docs/howto/reverse.rst docs/howto/usingurllib2.rst docs/index.rst docs/topics/release-notes.md examples/sandbox/views.py rest_framework/__init__.py rest_framework/compat.py rest_framework/utils/breadcrumbs.py setup.py
add missing imports Browsable API seems to be working fine with FBV's (2.0.0) removing snippets from the URI doesn't make sense remain consistent in using SnippetDetail
Fixing tutorials
minor docs fix
minor docs fix
'NoneType' object has no attribute 'to'
Documentation Fix for Auth/Throttling API guide + 'from_native' bug
This git revision has the django 1.3 compatibility pull request.
Closing pull request so that I can reopen a new pull request to master. I'll post the new pull request number here is a sec. |
Merged
The new pull request is #353. |
@mammique Filter backends are now in, and are pluggable, so if you decide you'd be interested in updating your implementation for 2.0 I'd def want to link to that as an alternative. (Tho ideally it'd be done as a separate third party package) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I still need to add some documentation which I'll do in a bit. Feedback is welcome and appreciated.