diff --git a/backend/config/settings.py b/backend/config/settings.py index 7883e777..2d40f601 100644 --- a/backend/config/settings.py +++ b/backend/config/settings.py @@ -55,7 +55,6 @@ INSTALLED_APPS = [ "django.contrib.sessions", "django.contrib.messages", "corsheaders", - "whitenoise.runserver_nostatic", "django.contrib.staticfiles", "django.contrib.humanize", "rest_framework", @@ -78,7 +77,6 @@ MIDDLEWARE = [ "django.contrib.sessions.middleware.SessionMiddleware", "corsheaders.middleware.CorsMiddleware", "config.middleware.StartTimeMiddleware", - "whitenoise.middleware.WhiteNoiseMiddleware", "django.middleware.common.CommonMiddleware", "django.middleware.csrf.CsrfViewMiddleware", "django.contrib.auth.middleware.AuthenticationMiddleware", @@ -191,11 +189,7 @@ USE_TZ = True STATIC_URL = "/static/" STATICFILES_DIRS = (str(BASE_DIR.joinpath("static")),) STATIC_ROOT = str(BASE_DIR.joinpath("staticfiles")) -STORAGES = { - "staticfiles": { - "BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage", - }, -} + # Default primary key field type # https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field diff --git a/backend/requirements.txt b/backend/requirements.txt index 4331064a..1002cdcd 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -11,5 +11,4 @@ redis==7.0.0 requests==2.32.5 ryd-client==0.0.6 uvicorn==0.38.0 -whitenoise==6.11.0 yt-dlp[default] @ git+https://github.com/yt-dlp/yt-dlp@6224a3898821965a7d6a2cb9cc2de40a0fd6e6bc