Ticket #6114: modelforms_doc.patch

File modelforms_doc.patch, 520 bytes (added by Martin Conte Mac Donell <Reflejo@…>, 17 years ago)
  • docs/modelforms.txt

     
    276276    for the missing, but required fields, or use ``save(commit=False)`` and
    277277    manually set anyextra required fields::
    278278   
    279         instance = Instance(requiured_field='value')
     279        instance = Instance(required_field='value')
    280280        form = InstanceForm(instance, request.POST)
    281281        new_instance = form.save()
    282282
Back to Top