I have the following two functions (not complete, but should give you
an idea of what I'm doing): http://dpaste.com/16964/

Lines 5-44 and 51-90 were a basic copy/paste job. How do I pull those
out into a separate function, or have the first function call the
other and still get the variables I need into my template? I'm
wondering there is a better way to pass variables to the template
rather than using the direct_to_template shortcut, or if I should pass
the variables I will be using by reference to a different function to
set the values.

--~--~---------~--~----~------------~-------~--~----~
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