Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Corrected an import in a model form docs example.

  • Loading branch information...
1 parent 47509e3 commit cb5dd99bb422dff38d5e804a91fe876f19a884e6 @ramiro ramiro committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/forms/modelforms.txt
2  docs/topics/forms/modelforms.txt
@@ -544,7 +544,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 cb5dd99

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