Ticket #8359: 8359.diff

File 8359.diff, 637 bytes (added by evan_schulz, 7 years ago)
  • django/contrib/auth/admin.py

     
    4848            if form.is_valid():
    4949                new_user = form.save()
    5050                msg = _('The %(name)s "%(obj)s" was added successfully.') % {'name': 'user', 'obj': new_user}
     51                self.log_addition(request, new_user)
    5152                if "_addanother" in request.POST:
    5253                    request.user.message_set.create(message=msg)
    5354                    return HttpResponseRedirect(request.path)
Back to Top