#26018: FormMixin.get_context_data calls get_form improperly after form_invalid
-------------------------------+------------------------------------
     Reporter:  chmarr         |                    Owner:  chmarr
         Type:  Bug            |                   Status:  assigned
    Component:  Generic views  |                  Version:  1.9
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------

Comment (by chmarr):

 Note: I added a call-counter stub to the AuthorUpdate view. Ideally I'd
 use the "mock" library to do this kind of thing, as that would also let me
 check the call-count after form_valid, rather than only being able to test
 if res.context['view'] was present.

--
Ticket URL: <https://code.djangoproject.com/ticket/26018#comment:3>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.383e90c2a4cfe794d69dfe769aeb2673%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to