Author: ubernostrum
Date: 2008-08-31 02:54:31 -0500 (Sun, 31 Aug 2008)
New Revision: 8753

Modified:
   django/trunk/docs/ref/contrib/formtools/form-preview.txt
Log:
Fixed #8721: Clarification in docs for form previews


Modified: django/trunk/docs/ref/contrib/formtools/form-preview.txt
===================================================================
--- django/trunk/docs/ref/contrib/formtools/form-preview.txt    2008-08-30 
22:24:24 UTC (rev 8752)
+++ django/trunk/docs/ref/contrib/formtools/form-preview.txt    2008-08-31 
07:54:31 UTC (rev 8753)
@@ -75,7 +75,7 @@
        :class:`~django.contrib.formtools.FormPreview` subclass::
 
            from myapp.preview import SomeModelFormPreview
-           from myapp.models import SomeModel
+           from myapp.forms import SomeModelForm
            from django import forms
 
        ...and add the following line to the appropriate model in your URLconf::
@@ -102,7 +102,7 @@
 =========================
 
 By default, the form is rendered via the template :file:`formtools/form.html`,
-and the preview page is rendered via the template 
:file:`formtools.preview.html`.
+and the preview page is rendered via the template 
:file:`formtools/preview.html`.
 These values can be overridden for a particular form preview by setting
 :attr:`~django.contrib.formtools.FormPreview.preview_template` and
 :attr:`~django.contrib.formtools.FormPreview.form_template` attributes on the


--~--~---------~--~----~------------~-------~--~----~
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