Commit aad5e791 authored by James Bennett's avatar James Bennett
Browse files

Fixed #6982; added an import statement to example in docs/modelforms.txt for the ModelForm class


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent bd3a1c00
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -121,6 +121,7 @@ A full example
Consider this set of models::

    from django.db import models
    from django.newforms import ModelForm

    TITLE_CHOICES = (
        ('MR', 'Mr.'),