We can see here
https://github.com/django/django/blob/stable/1.10.x/django/views/generic/edit.py#L174
that the methods `get` and `post` call `get_context_data` without
`**kwargs` in parameter.
I couldn't find a reason for that.
--
Ticket URL: <https://code.djangoproject.com/ticket/27330>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => assigned
* needs_better_patch: => 0
* owner: nobody => Aleksandr Sobolev
* needs_tests: => 0
* needs_docs: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/27330#comment:1>
Comment (by Simon Charette):
Quoting Tim on #21964:
> pushing `kwargs` to the context has been called an anti-pattern in
#19878 and we're planning to deprecate that behavior in TemplateView.
--
Ticket URL: <https://code.djangoproject.com/ticket/27330#comment:2>
Comment (by Dorian Amouroux):
I have hard time to follow the decision around it. I can't find in the
documentation the new way to send additional information to generic view.
Replying to [comment:2 Simon Charette]:
> Quoting Tim on #21964:
>
> > pushing `kwargs` to the context has been called an anti-pattern in
#19878 and we're planning to deprecate that behavior in TemplateView.
--
Ticket URL: <https://code.djangoproject.com/ticket/27330#comment:3>
* status: assigned => new
* owner: Aleksandr Sobolev => (none)
--
Ticket URL: <https://code.djangoproject.com/ticket/27330#comment:4>
* status: new => closed
* resolution: => duplicate
Comment:
Duplicate of #21964 (closed as wontfix).
--
Ticket URL: <https://code.djangoproject.com/ticket/27330#comment:5>