Forums

Forum,

File "/home/anbj1/.virtualenvs/env/lib/python3.6/site-packages/django/conf/init.py", line 126, in init raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.") django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.

I made some changes to my model, but now i want to migrate, when i migrate on virualenv, i am getting the error.

do you have a SECRET_KEY setting in your settings.py?