Add static root

This commit is contained in:
keannu125 2023-03-11 00:08:35 +08:00
parent bb2204427a
commit 3dfbb6dced

View file

@ -127,6 +127,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/4.1/howto/static-files/
STATIC_URL = 'static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
# Default primary key field type
# https://docs.djangoproject.com/en/4.1/ref/settings/#default-auto-field