i store a lot of stuff in config, much of which is 'framework' related
across modules.
the current way i deal with bools is this ( by storing things in
app_globals during init )
g.enable_feature_x= False
if 'org.opensn.pylons.enable_feature_x' in config:
g.opensn_pylons.enable_feature_x = bool(int(config
['org.opensn.pylons.enable_feature_x']))
is there a better way ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---