I think you have skipped this part of Django Documentation . If SECRET_KEY
is not present in settings.py , by default its empty .
SECRET_KEY
is generated when you use startproject
command. So make sure you have SECRET_KEY
in your settings.py
or or local_settings.py
file .