Ticket #16327: django-16327.diff
File django-16327.diff, 727 bytes (added by , 13 years ago) |
---|
-
django/contrib/admin/options.py
old new 717 717 msg = _('The %(name)s "%(obj)s" was added successfully.') % {'name': force_unicode(opts.verbose_name), 'obj': force_unicode(obj)} 718 718 # Here, we distinguish between different save types by checking for 719 719 # the presence of keys in request.POST. 720 if "_continue" in request.POST :720 if "_continue" in request.POST or "_saveasnew" in request.POST: 721 721 self.message_user(request, msg + ' ' + _("You may edit it again below.")) 722 722 if "_popup" in request.POST: 723 723 post_url_continue += "?_popup=1"