Re: Altering the auth_user model?

2010-03-25 Thread Bjunix
I would not recommend to mess with contrib.auth.models. If you want to make some fields of the User model required I would do this on form level. Just create a custom model form for User and override the fields in questions. On Mar 25, 2:43 pm, derek wrote: > On Mar 24, 11:21 pm, Thierry Chich w

Re: Altering the auth_user model?

2010-03-25 Thread derek
On Mar 24, 11:21 pm, Thierry Chich wrote: > Le mercredi 24 mars 2010 16:53:12, Sandman a écrit : > > > Hi Derek, > > > One way to do this would be to create a proxy model that can be used > > throughout your project. > > > Check out > >http://docs.djangoproject.com/en/dev/topics/db/models/#proxy-m

Re: Altering the auth_user model?

2010-03-24 Thread Thierry Chich
Le mercredi 24 mars 2010 16:53:12, Sandman a écrit : > Hi Derek, > > One way to do this would be to create a proxy model that can be used > throughout your project. > > Check out > http://docs.djangoproject.com/en/dev/topics/db/models/#proxy-models for > more info. Hi, This is what is said in o

Re: Altering the auth_user model?

2010-03-24 Thread Sandman
Hi Derek, One way to do this would be to create a proxy model that can be used throughout your project. Check out http://docs.djangoproject.com/en/dev/topics/db/models/#proxy-models for more info. Take care, Rajiv. On 3/24/10 7:44 AM, Derek wrote: > I am currently using UserProfile to create ad

Altering the auth_user model?

2010-03-24 Thread Derek
I am currently using UserProfile to create additional fields that are needed for my users. I would like to be able to alter the existing User model to use the same fields, but make some of them "required" (show up as bold on the form) e,g, the first name and last name. How would I do that? Thank