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
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
2 matches
Mail list logo