Thank you Roberto and Łukasz,

I will try it.

Tom

On 20. 5. 2013, at 20:35, "Roberto De Ioris" <[email protected]> wrote:

> 
>> Hello,
>> 
>> I would like to ask if it's possible to access to config values defined in
>> application config (ie .ini). I want mysql db connection was specified in
>> the config but didn't find how to access to them in Python (using uWSGI
>> 1.9.10, Debian)
>> 
>> So far I've gone through dozens of values but nothing seems to fit
>> configuration.
>> import uwsgi
>> len(uwsgi)
> 
> 
> uwsgi.opt is a dictionary exporting all of the parsed options
> 
> 
> 
> -- 
> Roberto De Ioris
> http://unbit.it
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to