[Fixed]-Error asking for secret key but secret key is already inserted

1👍

You problem is that you are importing settings instead of using django.conf.settings in your urls.py https://docs.djangoproject.com/en/1.10/topics/settings/#using-settings-in-python-code

from django.conf.urls import include, url
from django.contrib import admin
from django.views.static import serve
import settings  # <- here

Should be

from django.conf.urls import include, url
from django.contrib import admin
from django.views.static import serve
from django.conf import settings

Leave a comment