Ticket #5126: initial-data-newforms-admin.diff

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

     
    1616__all__ = (
    1717    'save_instance', 'form_for_model', 'form_for_instance', 'form_for_fields',
    1818    'ModelChoiceField', 'ModelMultipleChoiceField', 'formset_for_model',
    19     'inline_formset'
     19    'inline_formset', 'initial_data'
    2020)
    2121
    2222def save_instance(form, instance, fields=None, fail_message='saved', commit=True):
Back to Top