Skip to content

Conversation

RasmusWL
Copy link
Member

@RasmusWL RasmusWL commented Dec 4, 2020

Two important things:

  1. As far as I'm aware, we don't have a good way of determining MRO without points-to. As far as I know, this PR is the first instance where we need it. See c7ab78f
  2. How do you feel about adding httpVerb and httpVerbLower to the HTTP concept? -- see 608ce50

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.
Copy link
Contributor

@yoff yoff left a 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.

RasmusWL and others added 2 commits December 18, 2020 14:52
@RasmusWL RasmusWL requested a review from yoff December 18, 2020 14:12
Copy link
Contributor

@yoff yoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yoff yoff merged commit a08eb99 into github:main Dec 18, 2020
@RasmusWL RasmusWL deleted the django-class-based-handlers branch December 18, 2020 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants