#19886: documentation: FormWizard.as_view() does not have the attribute
get_form()
-------------------------------+--------------------------------------
Reporter: gandalf013@… | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by timo):
You can't initialize `ContactWizard` directly with a list of forms and the
initial dict. The `as_view` call is correct, but then you need to pass
`request` to the function that's returned. Maybe `RequestFactory` could be
used for the example, but a session is also needed on the request so it
seems a bit complicated to have this example use the shell.
--
Ticket URL: <https://code.djangoproject.com/ticket/19886#comment:2>
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].
For more options, visit https://groups.google.com/groups/opt_out.