Hey Chris, have you found a solution?
On Jul 29, 2:43 pm, Chris Curvey <ccur...@gmail.com> wrote: > Drat. That's not it. I'll keep trying. > > On Jul 28, 5:01 pm, Asinox <asi...@gmail.com> wrote: > > > > > im new , but i think that u need this part: > > > class UserProfileAdmin(UserAdmin): > > inlines = [UserProfileInline] > > list_display = ('user', 'sex','phone') > > > regards, > > > On Jul 28, 3:01 pm, Chris Curvey <ccur...@gmail.com> wrote: > > > > I'm having a bit of a brain cramp here...I'm trying to add some extra > > > fields to my userprofiles, but I can't seem to get the fields to show > > > up in theadmininterface. I've added theadmin.py directory to my > > > application root, but the fields obstinately will not show up in the > > >admininterface. > > > > The only odd thing that I'm doing is that I don't have a single > > > models.py file with lots of classes, instead I have a models directory > > > containing an __init__.py file. Anyway, here's myadmin.py.... > > > >admin.site.unregister(User) > > > > class UserProfileInline(admin.StackedInline): > > > model = ClientReviewProfile # this contains my extra fields. > > > > class UserProfileAdmin(UserAdmin): > > > inlines = [UserProfileInline] > > > >admin.site.register(User, UserProfileAdmin) > > > > Any ideas what I might be missing?- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---