On Sun, Feb 8, 2009 at 3:06 PM, Patricio Palma <patriciopa...@ic.uach.cl>wrote:

>
> 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
>
> >
>
This code looks exceptionally old, admin = meta.Admin() has been gone for
several years, what version of django are you workign with?

-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." --Voltaire
"The people's good is the highest law."--Cicero

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to