Add static config
This commit is contained in:
parent
b80d413b82
commit
aec1c30a87
1 changed files with 7 additions and 0 deletions
|
@ -119,6 +119,13 @@ USE_TZ = True
|
|||
|
||||
STATIC_URL = 'static/'
|
||||
|
||||
if DEBUG:
|
||||
STATICFILES_DIRS = [
|
||||
BASE_DIR / 'static',
|
||||
]
|
||||
else:
|
||||
STATIC_ROOT = BASE_DIR / 'static'
|
||||
|
||||
# Default primary key field type
|
||||
# https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue