Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Brian Rosner authored July 09, 2008

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  django/contrib/admin/options.py
3  django/contrib/admin/options.py
@@ -428,7 +428,8 @@ def save_change(self, request, model, form, formsets=None):
428 428
             for formset in formsets:
429 429
                 for added_object in formset.new_objects:
430 430
                     change_message.append(_('Added %(name)s "%(object)s".') 
431  
-                                          % {'name': added_object._meta.verbose_name, % 'object': added_object})
  431
+                                          % {'name': added_object._meta.verbose_name,
  432
+                                             'object': added_object})
432 433
                 for changed_object, changed_fields in formset.changed_objects:
433 434
                     change_message.append(_('Changed %(list)s for %(name)s "%(object)s".') 
434 435
                                           % {'list': get_text_list(changed_fields, _('and')), 

0 notes on commit b46dc92

Please sign in to comment.
Something went wrong with that request. Please try again.