Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.3.X] Fixed #16513 - Add forms import to example; thanks teraom.

Backport of r16586 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16587 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 199f10f9c09c5e5073c2e3a3a03f4a66d5c36855 1 parent 4217f35
Tim Graham authored August 06, 2011

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  docs/topics/forms/modelforms.txt
2  docs/topics/forms/modelforms.txt
@@ -182,6 +182,8 @@ With these models, the ``ModelForm`` subclasses above would be roughly
182 182
 equivalent to this (the only difference being the ``save()`` method, which
183 183
 we'll discuss in a moment.)::
184 184
 
  185
+    from django import forms
  186
+
185 187
     class AuthorForm(forms.Form):
186 188
         name = forms.CharField(max_length=100)
187 189
         title = forms.CharField(max_length=3,

0 notes on commit 199f10f

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