On 8/4/07, eXt <[EMAIL PROTECTED]> wrote:
> You shold read very good summary on extending user model here:
> http://www.amitu.com/blog/2007/july/django-extending-user-model/
This method will probably have serious problems on multi-site
installations, and -- unlike AUTH_PROFILE_MODULE -- has no
Hi!
You shold read very good summary on extending user model here:
http://www.amitu.com/blog/2007/july/django-extending-user-model/
Regards
--
Jakub Wisniowski
On 4 Sie, 12:54, ocgstyles <[EMAIL PROTECTED]> wrote:
> Perfect. I google'd AUTH_PROFILE_MODULE and found a nice writeup:
>
> htt
Perfect. I google'd AUTH_PROFILE_MODULE and found a nice writeup:
http://www.b-list.org/weblog/2006/06/06/django-tips-extending-user-model
Looks like that will suit my needs.
Thanks
On Aug 3, 7:56 am, daev <[EMAIL PROTECTED]> wrote:
> You can create Profile model that can have all additional
> Is there a way I can add some attributes to the User model in
> django.contrib.auth.models and also have those new attributes render
> in admin?
Probably you should have a look at Django-Registrationbetter to
hack on this than directly on django.contrib.auth.models.
See http://code.google.c
You can create Profile model that can have all additional fields. Then
connect it in settings.py to User model with AUTH_PROFILE_MODULE =
"profiles.Profile". And you can get per user profile like this:
user = User.objects.get( username = "foobar" )
profile = user.get_profile()
--~--~-~--
Is there a way I can add some attributes to the User model in
django.contrib.auth.models and also have those new attributes render
in admin? I figure I could just edit the django.contrib.auth.models
and add the attributes manually, but that won't last persist through
future upgrades.
--~--~
6 matches
Mail list logo