mirror of
https://github.com/django/django.git
synced 2025-09-18 16:30:01 +00:00
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
This commit is contained in:
parent
bd3a1c0067
commit
aad5e791ea
1 changed files with 1 additions and 0 deletions
|
@ -121,6 +121,7 @@ A full example
|
||||||
Consider this set of models::
|
Consider this set of models::
|
||||||
|
|
||||||
from django.db import models
|
from django.db import models
|
||||||
|
from django.newforms import ModelForm
|
||||||
|
|
||||||
TITLE_CHOICES = (
|
TITLE_CHOICES = (
|
||||||
('MR', 'Mr.'),
|
('MR', 'Mr.'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue