Re: Bumfuzzled Relations

2006-06-09 Thread oggie rob
As you found out, OneToOneField wouldn't work in this case. A OneToOne field implies that there will be exactly one user per school - instead you wanted several users to be affiliated with an individual school. The answer to your question might be here: http://www.b-list.org/weblog/2006/06/06/dja

Re: Bumfuzzled Relations

2006-06-09 Thread gtaylor
I managed to get the field to show up properly on the admin interace by making both fields ForeignKeys, but when I select a school in the 'Change User' page and hit 'Save and Continue Editing', I look down at the field and it's blank again. The model's table is also empty. Any idea on this? --~-

Bumfuzzled Relations

2006-06-09 Thread gtaylor
Greetings, I'm not sure if this is the best way to go about achieving my goal, so please let me know if there is a better way. First a little background: I'm working on a website with authentication, and at the time of user creation I'd like the applicant to be able to select the school they go