Sorry to cause misunderstanding.

Anyway, thanks to the great #django channel, I figured this out:

def hack_user(sender, args , kwargs):
    sender._meta.admin.list_display=('username', 'email', 'first_name',
'last_name', 'is_staff', 'date_joined')
    pass

from django.db.models import signals
from django.dispatch import dispatcher
dispatcher.connect(hack_user, sender=User, signal=signals.pre_init)

This is called on the creation of every User instance, I hope it won't
cause too much overhead...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to