Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #8721: Clarification in docs for form previews

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8753 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5e26fceb83150838ab9120075aac4c346ba82917 1 parent a40a32e
James Bennett authored August 31, 2008
4  docs/ref/contrib/formtools/form-preview.txt
@@ -75,7 +75,7 @@ How to use ``FormPreview``
75 75
        :class:`~django.contrib.formtools.FormPreview` subclass::
76 76
 
77 77
            from myapp.preview import SomeModelFormPreview
78  
-           from myapp.models import SomeModel
  78
+           from myapp.forms import SomeModelForm
79 79
            from django import forms
80 80
 
81 81
        ...and add the following line to the appropriate model in your URLconf::
@@ -102,7 +102,7 @@ anywhere in your codebase.
102 102
 =========================
103 103
 
104 104
 By default, the form is rendered via the template :file:`formtools/form.html`,
105  
-and the preview page is rendered via the template :file:`formtools.preview.html`.
  105
+and the preview page is rendered via the template :file:`formtools/preview.html`.
106 106
 These values can be overridden for a particular form preview by setting
107 107
 :attr:`~django.contrib.formtools.FormPreview.preview_template` and
108 108
 :attr:`~django.contrib.formtools.FormPreview.form_template` attributes on the

0 notes on commit 5e26fce

Please sign in to comment.
Something went wrong with that request. Please try again.