Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #16513 - Add forms import to example; thanks teraom.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16586 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 0350d65fa493230c8be7bfe8a79bc5ac1a6c7aba 1 parent bbe63f0
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
@@ -184,6 +184,8 @@ With these models, the ``ModelForm`` subclasses above would be roughly
184 184
 equivalent to this (the only difference being the ``save()`` method, which
185 185
 we'll discuss in a moment.)::
186 186
 
  187
+    from django import forms
  188
+
187 189
     class AuthorForm(forms.Form):
188 190
         name = forms.CharField(max_length=100)
189 191
         title = forms.CharField(max_length=3,

0 notes on commit 0350d65

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