Ticket #3972: save_instance_docstring.patch
File save_instance_docstring.patch, 700 bytes (added by , 17 years ago) |
---|
-
django/newforms/models.py
19 19 """ 20 20 Saves bound Form ``form``'s cleaned_data into model instance ``instance``. 21 21 22 Assumes ``form`` has a field for every non-AutoField database field in 23 ``instance``. If commit=True, then the changes to ``instance`` will be 24 saved to the database. Returns ``instance``. 22 If commit=True, then the changes to ``instance`` will be saved to the 23 database. Returns ``instance``. 25 24 """ 26 25 from django.db import models 27 26 opts = instance.__class__._meta