mirror of
https://github.com/django/django.git
synced 2025-01-26 10:09:42 +00:00
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:
parent
bd400a368d
commit
ed74763750
@ -276,7 +276,7 @@ model fields:
|
||||
for the missing, but required fields, or use ``save(commit=False)`` and
|
||||
manually set anyextra required fields::
|
||||
|
||||
instance = Instance(requiured_field='value')
|
||||
instance = Instance(required_field='value')
|
||||
form = InstanceForm(instance, request.POST)
|
||||
new_instance = form.save()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user