Author: timo
Date: 2011-08-06 12:02:56 -0700 (Sat, 06 Aug 2011)
New Revision: 16587

Modified:
   django/branches/releases/1.3.X/docs/topics/forms/modelforms.txt
Log:
[1.3.X] Fixed #16513 - Add forms import to example; thanks teraom.

Backport of r16586 from trunk.

Modified: django/branches/releases/1.3.X/docs/topics/forms/modelforms.txt
===================================================================
--- django/branches/releases/1.3.X/docs/topics/forms/modelforms.txt     
2011-08-06 19:02:20 UTC (rev 16586)
+++ django/branches/releases/1.3.X/docs/topics/forms/modelforms.txt     
2011-08-06 19:02:56 UTC (rev 16587)
@@ -182,6 +182,8 @@
 equivalent to this (the only difference being the ``save()`` method, which
 we'll discuss in a moment.)::
 
+    from django import forms
+
     class AuthorForm(forms.Form):
         name = forms.CharField(max_length=100)
         title = forms.CharField(max_length=3,

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