Denis Morozov wrote:
> Look at this post, it seems to be what you need:
> http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/
> 
> And you have to read comments to that page, where is some fix to the
> code in the comments.

And that, of course, worked just fine:)
Thanks
/Lars

> On Sep 24, 7:03 pm, Lars Stavholm <[EMAIL PROTECTED]> wrote:
>> Running django-1.0 out of svn trunk, just updated today (9084).
>>
>> I've defined my UserProfile according to the latest documentation:
>>
>> class UserProfile(models.Model):
>>      user  = models.ForeignKey(User, unique=True)
>>      dep   = models.CharField("Department", max_length=20, blank=True)
>>      phone = models.CharField(max_length=20, blank=True)
>>      notes = models.TextField(blank=True)
>>
>> I've added the following to my settings.py:
>>
>> AUTH_PROFILE_MODULE = 'app.userprofile'
>>
>> But I still don't get any extra fields in the admin.
>>
>> What am I missing?
>>
>> Any input appreciated
>> /Lars
> > 
> 



--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to