Hello,

I'm relatively new to django and i've been trying to figure out this
difficulty for a while now. I have a set of models that interact like
so:

A has many B.
B has many C.

I need to be able to submit a new A and a new B in a single post. C is
referenced by a foreign key.

I need to include the foreign key of A in B but am not quite sure how
to do it in my view. Django seems to handle getting data from POST
quite nicely so I'm not too worried about that.

Can anyone give advice on this? Even a link to a reference that would
help would be great.

Thank you!
-Alex
--~--~---------~--~----~------------~-------~--~----~
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