title: overriding methods of ModelAdmin
body: <p>I am working on a Django project where any time an admin does something in the admin console (CRUD), a set of people gets notified.  I was pointed to three methods on ModelAdmin called log_addition, log_created and log_deleted which save all the necessary info into a special database called "django_admin_log".</p>
  
  <p>I placed the following code into my admin.py:</p>
  
  <pre><code>class ModelAdmin(admin.ModelAdmin):
      def log_addition(self, request, object):
        subject = 'admin test of creation'
        message = 'admin creation detected'
        from_addr = 'no_reply@example.com'
        recipient_list = ('luka@example.com',)
        send_mail(subject, message, from_addr, recipient_list)
  
        return super(ModelAdmin, self).log_addition( *args, **kwargs )
  </code></pre>
  
  <p>This code however, gets ignored when I create new users.  Many posts actually recommend to create a different class name (MyModelAdmin) and I am not entirely sure why - the point is to override the existing model.  I tried it, but with the same result.  Can anyone point me in the right direction please?  How exactly do you override a method of an existing class and give it some extra functionality?
  Thank you!
  Luka</p>
  
  <p>EDIT:  I figured it out, it seems that I had to unregister and re-register User for my change to work.</p>