Ticket #8359: 8359.diff
File 8359.diff, 637 bytes (added by , 16 years ago) |
---|
-
django/contrib/auth/admin.py
48 48 if form.is_valid(): 49 49 new_user = form.save() 50 50 msg = _('The %(name)s "%(obj)s" was added successfully.') % {'name': 'user', 'obj': new_user} 51 self.log_addition(request, new_user) 51 52 if "_addanother" in request.POST: 52 53 request.user.message_set.create(message=msg) 53 54 return HttpResponseRedirect(request.path)