staticfile in settings

This commit is contained in:
2025-10-19 11:37:51 +03:30
parent a4dd84f3de
commit 169617d8a3

View File

@@ -330,7 +330,8 @@ DATETIME_FORMAT = '%Y-%m-%d %H:%M:%S'
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/5.2/howto/static-files/
STATIC_URL = 'static/'
STATIC_URL = '/static/'
STATIC_ROOT = BASE_DIR / 'staticfiles'
# Default primary key field type
# https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field