If it doesn't change, you can put it in the settings.

On Mar 18, 2011 9:30 AM, "hank23" <hversem...@stchas.edu> wrote:

If I want to define a global variable that can be accessible by all of
my views can I just define it at or near the top of my views.py and
and also outside of any defined view?

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

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