From 422f5d9a2cf57292195477a845264d0dd4d9fa11 Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Sun, 30 Mar 2014 20:30:07 -0300 Subject: [1.7.x] Corrected an import in a model form docs example. cb5dd99bb4 from master. --- docs/topics/forms/modelforms.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt index bd312562cb..3de5649e2b 100644 --- a/docs/topics/forms/modelforms.txt +++ b/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): -- cgit v1.3