Ticket #8433: 8433.authpopup.diff
File 8433.authpopup.diff, 760 bytes (added by , 16 years ago) |
---|
-
django/django/contrib/auth/admin.py
52 52 if "_addanother" in request.POST: 53 53 request.user.message_set.create(message=msg) 54 54 return HttpResponseRedirect(request.path) 55 elif '_popup' in request.REQUEST: 56 return self.response_add(request, new_user) 55 57 else: 56 58 request.user.message_set.create(message=msg + ' ' + ugettext("You may edit it again below.")) 57 59 return HttpResponseRedirect('../%s/' % new_user.id)