Is there any way that I can pass a variable to all views pages
(templates) without defining on each view functions.
Currently on each view I have to like
render_to_response('locations/my_view.html', {'var': val1, 'var2':
val2, 'global_var':global_val)
variable global_var need to pass all view pages, so I am looking a way
to pass global_var to all views rather defining on each view function.
--
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.