Browse files

[1.6.x] Corrected an import in a model form docs example.

422f5d9 from master.
  • Loading branch information...
1 parent 059bc7e commit c0882fefcaca82e25318397bf85ae43dfed90775 @ramiro ramiro committed Mar 30, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/forms/modelforms.txt
View
2 docs/topics/forms/modelforms.txt
@@ -534,7 +534,7 @@ field, you could do the following::
If you want to specify a field's validators, you can do so by defining
the field declaratively and setting its ``validators`` parameter::
- from django.forms import ModelForm, DateField
+ from django.forms import ModelForm, CharField
from myapp.models import Article
class ArticleForm(ModelForm):

0 comments on commit c0882fe

Please sign in to comment.