Re: UserProfile problem

2008-09-25 Thread Lars Stavholm
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, w

Re: UserProfile problem

2008-09-24 Thread Denis Morozov
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. On Sep 24, 7:03 pm, Lars Stavholm <[EMAIL PROTECTED]>

UserProfile problem

2008-09-24 Thread Lars Stavholm
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