Skip to content

Commit

Permalink
Fixed #6114. Fixed a typo in the modelforms docs. Thanks, Martin Cont…
Browse files Browse the repository at this point in the history
…e Mac Donell.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
jkocherhans committed Dec 3, 2007
1 parent bd400a3 commit ed74763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/modelforms.txt
Expand Up @@ -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()


Expand Down

0 comments on commit ed74763

Please sign in to comment.