> > 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 definition. 2. Override Client.save() to create or delete the instance of Service_1_Profile based on service_1's value. You can also latch on to a signal handler that calls a function for you that does step #2 above. http://code.djangoproject.org/wiki/Signals?format=txt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---