On Sun, 2009-02-08 at 12:16 -0800, Patricio Palma wrote: > Greetings > > I've a model > class MyUser(auth.User): > location = meta.CharField(maxlength=100, blank=True) > > class META: > replaces_module = 'auth.users' > admin = meta.Admin( > list_display = ('username', 'email', > 'first_name','last_name', 'lacation') > )
Django hasn't used that syntax since the 0.91 release. Since then, admin has been through two major revisions. What version of Django are you using (keeping in mind that if you are using 0.91, you're going to be pretty much on your own with solving most problems, since it's from so long and so many changes ago)? If you're using, say, Django 1.0, the documentation is your friend as to the right syntax for the admin interface. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---