Ticket #5126: initial-data-trunk.diff

File initial-data-trunk.diff, 514 bytes (added by Petr Marhoun <petr.marhoun@…>, 17 years ago)
  • django/newforms/models.py

     
    1414
    1515__all__ = (
    1616    'save_instance', 'form_for_model', 'form_for_instance', 'form_for_fields',
    17     'ModelChoiceField', 'ModelMultipleChoiceField'
     17    'ModelChoiceField', 'ModelMultipleChoiceField', 'initial_data'
    1818)
    1919
    2020def save_instance(form, instance, fields=None, fail_message='saved', commit=True):
Back to Top