mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
add missing imports to the examples in the 'Forms'
This commit is contained in:
parent
1d543949d7
commit
08b501e7d3
8 changed files with 136 additions and 48 deletions
|
@ -53,6 +53,7 @@ How to use ``FormPreview``
|
|||
overrides the ``done()`` method::
|
||||
|
||||
from django.contrib.formtools.preview import FormPreview
|
||||
from django.http import HttpResponseRedirect
|
||||
from myapp.models import SomeModel
|
||||
|
||||
class SomeModelFormPreview(FormPreview):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue