diff options
Diffstat (limited to 'docs/form_preview.txt')
| -rw-r--r-- | docs/form_preview.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/form_preview.txt b/docs/form_preview.txt index e03de36187..171174704c 100644 --- a/docs/form_preview.txt +++ b/docs/form_preview.txt @@ -13,7 +13,7 @@ Python class. Overview ========= -Given a ``django.newforms.Form`` subclass that you define, this application +Given a ``django.forms.Form`` subclass that you define, this application takes care of the following workflow: 1. Displays the form as HTML on a Web page. @@ -65,7 +65,7 @@ How to use ``FormPreview`` from myapp.preview import SomeModelFormPreview from myapp.models import SomeModel - from django import newforms as forms + from django import forms ...and add the following line to the appropriate model in your URLconf:: |
