those work at runtime , but I'm trying to define something on the app
init
e.g.
lib/constants.py
========================
if PRODUCTION_MACHINE :
VAR_1 = '123'
VAR_2 = '123'
elif DEV_MACHINE :
VAR_1 = '456'
VAR_2 = '456'
========================
this is, of course, an illustrative example. this sort of stuff was
straightforward in Pylons.
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en.