Fixed #6114. Fixed a typo in the modelforms docs. Thanks, Martin Conte Mac Donell.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Joseph Kocherhans 2007-12-03 16:18:23 +00:00
parent bd400a368d
commit ed74763750
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ model fields:
for the missing, but required fields, or use ``save(commit=False)`` and for the missing, but required fields, or use ``save(commit=False)`` and
manually set anyextra required fields:: manually set anyextra required fields::
instance = Instance(requiured_field='value') instance = Instance(required_field='value')
form = InstanceForm(instance, request.POST) form = InstanceForm(instance, request.POST)
new_instance = form.save() new_instance = form.save()