Set args, kwargs & request on self before dispatch is called. #532

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants
Contributor

ghickman commented Nov 18, 2012

Move the setting of args, kwargs & request on self into the nested
view function in as_view so they are set before dispatch is
called. This allows anyone wishing to put pre-dispatch code in an
overridden dispatch and still use the self versions of args, kwargs
and request.

Set args, kwargs & request on self before dispatch is called.
Move the setting of args, kwargs & request on self into the nested
`view` function in `as_view` so they are set before dispatch is
called. This allows anyone wishing to put pre-dispatch code in an
overridden `dispatch` and still use the self versions of args, kwargs
and request.
Owner

apollo13 commented Nov 18, 2012

Hey, I guess a bit of this was discussed on the most recent thread on the ml, but there are again some messages missing from the groups interface. Either way, could you please create a ticket and link to the pullrequest and mailinglist accordingly. Thanks!

Contributor

ghickman commented Nov 19, 2012

@apollo13 Apologies, I didn't think to link to the ticket here too!

Member

claudep commented Nov 22, 2012

Committed

@claudep claudep closed this Nov 22, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment