I don't know if it would be of any use to you, but when faced with this problem I ended up making subclass of forms.Form that handled one to one relations. It works a little like form_for_model/instance in that it generates the form based on the model definition rather than fields you define. Instead you can define the exceptions when you subclass the form (like specifying choices, widgets, or fields to exclude). The usage is pretty simple and I tried to document it.
It's fairly complicated internally, only a week or so old, and I'm new to both Django and Python. That probably means one of the regulars will pop in an explain how to do it in 3 lines of code. It seems to work ok for me so far though, so if you like living dangerously... http://dpaste.com/hold/7108/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

