I am using create_update.create_object to handle my forms (generic forms both use modelforms). I have two forms. The second relies on the pk of the first as a fk. I can't figure out what is the best practice to A: save the pk as a variable or into the session, then B: pull that variable either out of the session or another place, such as a global variable.
I could write the forms manually, but this does not seem to be the most efficient way, unless create_object was meant for very simple forms. I have tried using extra_context to call another function, but I dont know if that is the best way either. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.