I've got two forms included in my base template, from which a few
others inherit. Currently I'm passing a newly-constructed form to
each of the inherited templates in the functions using
render_to_response, like so:
return render_to_response('contact.html', {'form': form, 'suggform':
suggform, 'searchform':searchform })
it's getting tedious though... is there some way I can pass the forms
to only the base template, and have all the other inherited templates
get the forms too? the default forms are all static - no dynamic
values.
thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---