Fixed #5834 -- Fixed import in `formtools` documentation, thanks telenieko.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b237537e00
commit
9a30ed5cd5
|
@ -45,7 +45,7 @@ How to use ``FormPreview``
|
||||||
|
|
||||||
2. Create a ``FormPreview`` subclass that overrides the ``done()`` method::
|
2. Create a ``FormPreview`` subclass that overrides the ``done()`` method::
|
||||||
|
|
||||||
from django.contrib.formtools import FormPreview
|
from django.contrib.formtools.preview import FormPreview
|
||||||
from myapp.models import SomeModel
|
from myapp.models import SomeModel
|
||||||
|
|
||||||
class SomeModelFormPreview(FormPreview):
|
class SomeModelFormPreview(FormPreview):
|
||||||
|
|
Loading…
Reference in New Issue