Author: timo
Date: 2011-08-06 12:02:20 -0700 (Sat, 06 Aug 2011)
New Revision: 16586
Modified:
django/trunk/docs/topics/forms/modelforms.txt
Log:
Fixed #16513 - Add forms import to example; thanks teraom.
Modified: django/trunk/docs/topics/forms/modelforms.txt
===================================================================
--- django/trunk/docs/topics/forms/modelforms.txt 2011-08-06 18:54:40 UTC
(rev 16585)
+++ django/trunk/docs/topics/forms/modelforms.txt 2011-08-06 19:02:20 UTC
(rev 16586)
@@ -184,6 +184,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.