Commit 422f5d9a authored by Ramiro Morales's avatar Ramiro Morales
Browse files

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

cb5dd99b from master.
parent 273f8e22
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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):