Hi,

On 10/28/10 8:42 PM, Col Wilson wrote:
if I'm in a modules and I do

my_module = Module(__name__)

how can I use app.config?
from flask import current_app

@mod.route('/foo')
def foo():
    current_app.config['DEBUG'] etc.


Regards,
Armin

--
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" 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/pocoo-libs?hl=en.

Reply via email to