This commit is contained in:
nabijonovdavronbek619@gmail.com
2025-12-06 19:50:14 +05:00
parent 9f240e96f0
commit d02e2641ac

View File

@@ -137,11 +137,11 @@ USE_TZ = True
# https://docs.djangoproject.com/en/5.2/howto/static-files/ # https://docs.djangoproject.com/en/5.2/howto/static-files/
STATIC_URL = 'static/' STATIC_URL = 'static/'
STATIC_URL = BASE_DIR / 'resources/static' STATIC_ROOT = BASE_DIR / 'resources/static'
MEDIA_URL = 'media/' MEDIA_URL = 'media/'
MEDIA_URL = BASE_DIR / 'resources/media' MEDIA_ROOT = BASE_DIR / 'resources/media'
# Default primary key field type # Default primary key field type
# https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field # https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field