All,

As I understand the code, -L <config> only allows you to redefine values 
web2py already understands (new/arbitrary keys i.e. bananas=False are 
ignored, see widget.py), what is the best way to provide custom runtime 
configuration of other, app-specific values?  Importing a module with the 
values has been suggested elsewhere but that isn't a good solution since 
you'd have to edit the module or provide some other mechanism for choosing 
between modules at runtime if you have multiple setups (i.e. production vs. 
testing).

widget.py could be patched to allow custom attributes, but is there a 
better way?  I'm open to sugestions.

lil

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to