python - Django settings outside of project -


i have django project uses sqlalchemy use legacy orm objects. application hits ldap server user authentication. getting sick of moving development production servers both ldap , database. hoping create is_development variable in settings.py. 1 problem running orm modules not in django project.

i know django.conf great job of parsing settings file , making settings available throughout application. can not figure out how make same settings available myself outside of app.

anyone done 1 before?

"standalone django scripts"


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -