I'm trying to access the Pylons configuration from inside a repoze.who "authenticator".. I'm using from pylons import config
, but it looks like it returns a configuration with default values, not the ones from production.ini.. What am I missing?
How to access Pylons config from a repoze.who authenticator
200 views Asked by Joril At
2
Found a thread that suggests two options:
pylons.config.update(config)
at the bottom ofload_environment