-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Python: Add modeling of django class based view handlers #4779
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
Conversation
Disabled CSRF middleware for now, since it blocked my debugging curl POST requests :(
BUT, since MyCustomViewBaseClass.post (django-v2-v3/testapp/views.py) and Foo.post (django-v2-v3/routing_test.py) aren't handled, this raises important question about how to do MRO without points-to :S
Let's discuss whether doing it this way is reasonable, since I'm not 100% sure whether this fits into "concepts" or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks generally good, I also like the simplification in the first commit. I think Http verbs are a concept, just one that is fairly easy to recognize.
Co-authored-by: yoff <lerchedahl@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Two important things:
httpVerb
andhttpVerbLower
to theHTTP
concept? -- see 608ce50