Re: Trying to Extend User - but system not writing to database.

2006-10-24 Thread MerMer
I moved to creating the model with a OneToOne relationship rather than a foreign key and have it got it to work. Not sure why I was having problems as Foreign Key --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dj

Re: Trying to Extend User - but system not writing to database.

2006-10-24 Thread [EMAIL PROTECTED]
Do you also have lines like this? class Admin: pass http://www.djangoproject.com/documentation/tutorial2/ Paul Prescod --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to thi

Re: Trying to Extend User - but system not writing to database.

2006-10-23 Thread Todd O'Bryan
On Mon, 2006-10-23 at 16:38 +, rp wrote: > > These posts are very helpful: > > http://www.b-list.org/weblog/2006/06/06/django-tips-extending-user-model > > http://www.b-list.org/weblog/2006/09/02/django-tips-user-registration > > Both suggest using OneToOneField instead of ForeignKey: >

Re: Trying to Extend User - but system not writing to database.

2006-10-23 Thread rp
These posts are very helpful: http://www.b-list.org/weblog/2006/06/06/django-tips-extending-user-model http://www.b-list.org/weblog/2006/09/02/django-tips-user-registration Both suggest using OneToOneField instead of ForeignKey: user = models.OneToOneField(User) instead of: user = model