Changeset 5576
- Timestamp:
- 06/30/07 23:34:39 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/newforms-admin/django/newforms/models.py
r5477 r5576 235 235 236 236 def save_new(self, form, commit=True): 237 """Saves and ret rutns a new model instance for the given form."""237 """Saves and returns a new model instance for the given form.""" 238 238 return save_instance(form, self.model(), commit=commit) 239 239 240 240 def save_instance(self, form, instance, commit=True): 241 """Saves and ret rutns an existing model instance for the given form."""241 """Saves and returns an existing model instance for the given form.""" 242 242 return save_instance(form, instance, commit=commit) 243 243
