Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

newforms-admin: Fixed #7692 -- Fixed a syntax error in django/contrib…

…/admin/options.py, my bad. Thanks jwmayfield for keeping me in check.

git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b46dc92ad36f25ea593ab4cbd3e963d6540920c1 1 parent 7d45454
@brosner brosner authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  django/contrib/admin/options.py
View
3  django/contrib/admin/options.py
@@ -428,7 +428,8 @@ def save_change(self, request, model, form, formsets=None):
for formset in formsets:
for added_object in formset.new_objects:
change_message.append(_('Added %(name)s "%(object)s".')
- % {'name': added_object._meta.verbose_name, % 'object': added_object})
+ % {'name': added_object._meta.verbose_name,
+ 'object': added_object})
for changed_object, changed_fields in formset.changed_objects:
change_message.append(_('Changed %(list)s for %(name)s "%(object)s".')
% {'list': get_text_list(changed_fields, _('and')),
Please sign in to comment.
Something went wrong with that request. Please try again.