阅读背景:

在不重启服务器的情况下使django的设置缓存无效?

来源:互联网 

I'm working with a django app involving multiple databases - dynamically added multiple databases, that is. Any time a new client signs up we give em a new database. The settings file can load these dynamically (as in, I run a shell script on the server and that updates the databases definition without changing any code - if you're really curious how, message me), but since uwsgi/django caches the settings, I have to bump uwsgi just to get the new database recognized.I'm working with a django app involving multipl




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: