re-organise the static
This commit is contained in:
@@ -190,15 +190,12 @@ USE_TZ = True
|
||||
# https://docs.djangoproject.com/en/4.2/howto/static-files/
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
STATIC_ROOT = BASE_DIR / "templates/static"
|
||||
|
||||
STATICFILES_DIRS = [
|
||||
BASE_DIR / "templates/cloudmanager/css",
|
||||
BASE_DIR / "templates/cloudmanager/fonts",
|
||||
BASE_DIR / "templates/cloudmanager/images",
|
||||
BASE_DIR / "templates/cloudmanager/js"
|
||||
("cloudmanager", STATIC_ROOT / "cloudmanager/")
|
||||
]
|
||||
|
||||
STATIC_ROOT = BASE_DIR / "templates/static"
|
||||
|
||||
# Default primary key field type
|
||||
# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field
|
||||
|
||||
Reference in New Issue
Block a user