Re: Django Trigger

2007-07-10 Thread RajeshD
> > I currently have "Service_1_Profile.client" set as a foreign key to > "Client", and I am creating the profiles manually. Any suggestions on > how to automate this in accordance with steps 1-5? Here's a thought: 1. You can leave Service_1_Profile.client and add distinct=True to it's

Django Trigger

2007-07-10 Thread kevinski
Here is my situation: 1. I have a model "Client", with a boolean attribute "service_1" 2. I also have a model "Service_1_Profile" 3. When "Client.service_1" is set to on, I want a corresponding "Service_1_Profile" to be created. 4. When "Client.service_1" is set to off, I want the corresponding