-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Request must inherit from HttpRequest #128
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
Comments
I'd love to see that. Also, I'd love to see |
I started working on that. |
Need some advice here. I can think of 3 approaches for doing that:
I chose the 2. What are your opinions ? |
treyhunner
pushed a commit
to treyhunner/django-rest-framework
that referenced
this issue
Sep 16, 2015
Defining requires_model_validation as False on compress command, for offline compression
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Request must become a subclass of Django's
HttpRequest
..DATA
,.FILES
,.auth
and.method
, previously available on views inheriting fromRequestMixin
will becomerequest.DATA
,request.FILES
,request.method
... Regular attributes on the request (eg..META
etc.) will still be available.Also,
.CONTENT
probably needs to disappear and won't be provided by the newRequest
class.The text was updated successfully, but these errors were encountered: