Greetings
I have a model
from django.contrib.auth.models import User
class MyUser(User):
chilean_rut = CLRutField(_('RUT'),primary_key=True)
class Meta:
admin = meta.Admin(
fields = (
(_('Personal info'), {'fields': ('first_name', 'last_name',
'chilean_rut','email')}),
(_('Extended info'), {'fields': ('gamename', 'url',
'description')}),
(_('Permissions'), {'fields': ('is_staff', 'is_active',
'is_superuser', 'user_permissions')}),
(_('Important dates'), {'fields': ('last_login',
'date_joined')}),
(_('Groups'), {'fields': ('groups',)}),
),
list_display = ('username', 'gamename', 'first_name',
'last_name', 'is_staff'),
looks fine, but in my users list after added, I see only the total of
added users
just like list_display was empty
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---