Re: How to pass variables from a different file to via a view to a template?

2009-05-28 Thread jon michaels
Since nobody responded, i figured i should revisit the documentation. Here are the answers to my own questions: 1. To add a variable from an external file, i simply redefined the value page_list inside the view. That causes it to be included in the local context and added to locals(). In the

How to pass variables from a different file to via a view to a template?

2009-05-25 Thread jon michaels
Hi list, In an attempt to follow the DRY principle and keep environment specific variables separate from my application code, i decided to put a number of application specific variables in a different file. So i have a file like this: --- u...@host:~/program$ more appenv.py ## # app