Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

cb5dd99 from master.
  • Loading branch information...
commit 422f5d9a2cf57292195477a845264d0dd4d9fa11 1 parent 273f8e2
@ramiro ramiro authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/forms/modelforms.txt
View
2  docs/topics/forms/modelforms.txt
@@ -550,7 +550,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 422f5d9

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