diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-06-15 00:26:30 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-06-15 00:26:30 +0000 |
| commit | 762e677d26c53b73f0485012df140d3313ea964f (patch) | |
| tree | 4665d2e0345058af6b7be2bf68df2eba02245987 | |
| parent | 4a61c2f9120fcf8effe5bf6d049f776d9f5a92a3 (diff) | |
Fixed #3972 -- Updated docstring. Patch from SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/newforms/models.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/django/newforms/models.py b/django/newforms/models.py index 1f783429be..d51b06c78c 100644 --- a/django/newforms/models.py +++ b/django/newforms/models.py @@ -19,9 +19,8 @@ def save_instance(form, instance, fields=None, fail_message='saved', commit=True """ Saves bound Form ``form``'s cleaned_data into model instance ``instance``. - Assumes ``form`` has a field for every non-AutoField database field in - ``instance``. If commit=True, then the changes to ``instance`` will be - saved to the database. Returns ``instance``. + If commit=True, then the changes to ``instance`` will be saved to the + database. Returns ``instance``. """ from django.db import models opts = instance.__class__._meta |
