#27330: Generic CreateView/UpdateView doesn't send the kwargs to 
get_context_data
---------------------------------+--------------------
     Reporter:  Dorian Amouroux  |      Owner:  nobody
         Type:  Bug              |     Status:  new
    Component:  Generic views    |    Version:  1.10
     Severity:  Normal           |   Keywords:
 Triage Stage:  Unreviewed       |  Has patch:  1
Easy pickings:  1                |      UI/UX:  0
---------------------------------+--------------------
 I noticed that the generic classes CreateView and UpdateView doesn't
 inject the kwargs into the `get_context_data()` method.

 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.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/057.9648b21a67cd77f6f3237fcabca039fb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to