#17795: kwargs not passed on by django.views.generic.edit import ProcessFormView
-------------------------------------+-------------------------------------
     Reporter:  ed.crewe@…           |                    Owner:  Fandekasp
         Type:                       |                   Status:  new
  Cleanup/optimization               |                  Version:
    Component:  Generic views        |  1.4-beta-1
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Fandekasp):

 * needs_better_patch:  0 => 1
 * needs_tests:  1 => 0


Comment:

 @ed.crewe , I couldn't reproduce your problem, I don't understand how
 you're testing your user object permissions. I always do it through
 get_object or dispatch, and didn't get such problem.

 I wrote a test that does basically the same thing, by adding a kwarg in an
 overrided get() instead of get_context_data, and insure that this new
 kwarg isn't lost in ProcessFormView.get(). I don't like my test, so if you
 could give me your use case, I'll replace the test by a proper one.


 I'm wondering if I should do the same with post ? Again, I need to
 understand the use case before doing so.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17795#comment:7>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to