Re: Show additional user information in admin

2009-12-07 Thread Carl Zmola
bax...@gretschpages.com wrote: >> You can do that by creating an >> InlineModelAdmin:http://docs.djangoproject.com/en/dev/ref/contrib/admin/#inlinemodelad... >> > > How, exactly? I tried this, with no luck: > > from user_profiles.models import Profile > from django.contrib.auth.admin import

Re: Show additional user information in admin

2009-12-04 Thread Kai Timmer
2009/12/3 Matt Schinckel : > I have an app called person which has my UserProfile in it: Now I got it. Thank you. Greetings, -- Kai Timmer | http://kaitimmer.de Email : em...@kaitimmer.de Jabber (Google Talk): k...@kait.de -- You received this message because you are

Re: Show additional user information in admin

2009-12-03 Thread Matt Schinckel
On Dec 4, 5:26 am, Kai Timmer wrote: > 2009/12/3 bax...@gretschpages.com : > > > How, exactly? I tried this, with no luck: > > I can't get it working too. Can someone please provide a simple > example? That would be really great. I have an app called person

Re: Show additional user information in admin

2009-12-03 Thread Kai Timmer
2009/12/3 bax...@gretschpages.com : > How, exactly? I tried this, with no luck: I can't get it working too. Can someone please provide a simple example? That would be really great. Greetings, -- Kai Timmer | http://kaitimmer.de Email : em...@kaitimmer.de Jabber (Google

Re: Show additional user information in admin

2009-12-03 Thread bax...@gretschpages.com
> You can do that by creating an > InlineModelAdmin:http://docs.djangoproject.com/en/dev/ref/contrib/admin/#inlinemodelad... How, exactly? I tried this, with no luck: from user_profiles.models import Profile from django.contrib.auth.admin import UserAdmin class

Re: Show additional user information in admin

2009-12-03 Thread aa56280
> That works, but it would be nice to see and edit the > entrys in UserProfile directly via admin/auth/user. From my novice > standpoint, it looks like i have to overwrite the default admin.py > from the auth module. Is that right? And if yes, how do I do it "the > right way"? You can do that by

Re: Show additional user information in admin

2009-12-03 Thread Carl Zmola
I found the documentation on how to do this is lacking. In the old Django book, it was covered, but the new django book removed this section on profiles. http://djangobook.com/en/1.0/chapter12/ The short answer is to add AUTH_PROFILE_MODULE = "myapp.mysiteprofile" in your settings.py and

Re: Show additional user information in admin

2009-12-03 Thread Kai Timmer
2009/12/2 aa56280 : > You'll have to "activate" the model like any other in order for it to > show up on the Admin site. Ok, but then I have an extra entry for my UserProfile Model in the admin Interface. That works, but it would be nice to see and edit the entrys in

Re: Show additional user information in admin

2009-12-02 Thread aa56280
You'll have to "activate" the model like any other in order for it to show up on the Admin site. Have a look here: http://docs.djangoproject.com/en/dev/ref/contrib/admin/#overview On Dec 2, 3:32 pm, Kai Timmer wrote: > Hello, > by following this >

Show additional user information in admin

2009-12-02 Thread Kai Timmer
Hello, by following this guide: http://docs.djangoproject.com/en/dev/topics/auth/#storing-additional-information-about-users I made a model and added some information to every user. What do I have to do, to show these additional fields in the admin/user interface? Greetings, -- Kai Timmer |