summaryrefslogtreecommitdiff
path: root/django/newforms/models.py
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-06-25 12:47:19 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-06-25 12:47:19 +0000
commit0ced8b0bb211fca38669293b15316930e0d648fd (patch)
treea6f4733859aed03765c396f843770b503c36ec90 /django/newforms/models.py
parentf4387422f0a556fb2469500fb9d408306bead02c (diff)
unicode: Merged from trunk up to [5530]. Oracle backend has not been ported to
support unicode yet. git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/newforms/models.py')
-rw-r--r--django/newforms/models.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/django/newforms/models.py b/django/newforms/models.py
index 51d9a5c99e..2803de9675 100644
--- a/django/newforms/models.py
+++ b/django/newforms/models.py
@@ -20,9 +20,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