[BangPypers] How to dynamically load modules in Django/Python

mithun chackravarthy vbnetmithun at gmail.com
Thu Dec 18 06:31:41 CET 2014


Hi Amit

As like this os.environ.setdefault("DJANGO_SETTINGS_MODULE",
"appname.settings") am importing it.

Thanks,
Mithun

On Thu, Dec 18, 2014 at 10:58 AM, Amit Sethi <amit.pureenergy at gmail.com>
wrote:
>
> Mithun a suggestion, checkout how settings.py file is imported in your
> manage.py
>
> Thanks
> Amit
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>


-- 
 mithun chackravarthy


More information about the BangPypers mailing list