Add static config

This commit is contained in:
Nyymix 2025-08-10 00:19:17 +03:00
parent b80d413b82
commit aec1c30a87

View file

@ -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