Ticket #6114: modelforms_doc.patch
| File modelforms_doc.patch, 0.5 kB (added by Martin Conte Mac Donell <Reflejo@gmail.com>, 1 year ago) |
|---|
-
docs/modelforms.txt
old new 276 276 for the missing, but required fields, or use ``save(commit=False)`` and 277 277 manually set anyextra required fields:: 278 278 279 instance = Instance(requi ured_field='value')279 instance = Instance(required_field='value') 280 280 form = InstanceForm(instance, request.POST) 281 281 new_instance = form.save() 282 282
