Ticket #5126: initial-data-trunk.diff
File initial-data-trunk.diff, 514 bytes (added by , 17 years ago) |
---|
-
django/newforms/models.py
14 14 15 15 __all__ = ( 16 16 'save_instance', 'form_for_model', 'form_for_instance', 'form_for_fields', 17 'ModelChoiceField', 'ModelMultipleChoiceField' 17 'ModelChoiceField', 'ModelMultipleChoiceField', 'initial_data' 18 18 ) 19 19 20 20 def save_instance(form, instance, fields=None, fail_message='saved', commit=True):