#16453: FormWizard: Incorrect method signature
-----------------------+----------------------------
 Reporter:  anonymous  |          Owner:  nobody
     Type:  Bug        |         Status:  new
Milestone:             |      Component:  Forms
  Version:  SVN        |       Severity:  Normal
 Keywords:             |   Triage Stage:  Unreviewed
Has patch:  0          |  Easy pickings:  1
    UI/UX:  0          |
-----------------------+----------------------------
 The documentation at
 https://docs.djangoproject.com/en/1.3/ref/contrib/formtools/form-
 wizard/#creating-a-formwizard-class states that the method signature for
 {{{done()}}} is as follows:[[BR]]
 {{{def done(self, request, form_list):}}}

 Using this example results in the following error:[[BR]]
 '''done() takes exactly 3 arguments (2 given)'''

 The correct signature is as follows (without the {{{request}}}
 argument):[[BR]]
 {{{def done(self, form_list):}}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16453>
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to