Hey everyone,

I'm trying to use the 1-1 fields, and love the examples and how it
works, once it's created.  However, I'm having trouble determining
when in my code to create the actual instance of the 1-1 object.

What I really want is for the save() method of the 'master' side of
the model to create the 1-1 record, and that's easy enough, but if I
then start putting the 1-1 model into the admin interface, it seems to
error out when I try saving new records in the admin interface.

Am I off in thinking the creation of the 1-1 record should be done in
the save() method or should it be somewhere else in a view?

What I'd love to hear are peoples examples of how they used 1-1 fields
and implemented them in their code.

Thanks so much

John Matthew
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to