Ticket #3972: save_instance_docstring.patch

File save_instance_docstring.patch, 700 bytes (added by Chris Beaven, 17 years ago)
  • django/newforms/models.py

     
    1919    """
    2020    Saves bound Form ``form``'s cleaned_data into model instance ``instance``.
    2121
    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``.
    2524    """
    2625    from django.db import models
    2726    opts = instance.__class__._meta
Back to Top