Vaasudevan Srinivasan

Results 1 comments of Vaasudevan Srinivasan

I kept this in ```__init__.py``` file and it worked for me ```python import os if not os.environ.get('DJANGO_SETTINGS_MODULE'): import django os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings' django.setup() ```