Fix static file inclusion
This commit is contained in:
@@ -23,7 +23,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
SECRET_KEY = "insecure-fake-key-do-not-use-in-production"
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
DEBUG = False
|
||||
|
||||
ALLOWED_HOSTS = []
|
||||
|
||||
@@ -113,9 +113,9 @@ USE_TZ = True
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/4.0/howto/static-files/
|
||||
|
||||
STATIC_URL = "core/static/"
|
||||
STATIC_URL = "static/"
|
||||
|
||||
STATICFILES_DIRS = (os.path.join(BASE_DIR, STATIC_URL),)
|
||||
STATICFILES_DIRS = (os.path.join(BASE_DIR, "core/static/"),)
|
||||
|
||||
# Default primary key field type
|
||||
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field
|
||||
|
||||
Reference in New Issue
Block a user