diff --git a/backend/backend/settings.py b/backend/backend/settings.py index 702c085d..6592bbdc 100644 --- a/backend/backend/settings.py +++ b/backend/backend/settings.py @@ -57,7 +57,7 @@ TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', - 'DIRS': [BASE_DIR / 'frontend/templates'], + 'DIRS': [BASE_DIR / 'frontend/templates/frontend'], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ @@ -87,7 +87,6 @@ } } - # Password validation # https://docs.djangoproject.com/en/5.0/ref/settings/#auth-password-validators @@ -144,5 +143,5 @@ # Add the build.outDir from vite.config.js to STATICFILES_DIRS # so that collectstatic can collect your compiled vite assets. STATICFILES_DIRS = [ - BASE_DIR / "frontend/static/vite_assets_dist" + BASE_DIR / 'frontend/static/vite_assets_dist' ] diff --git a/backend/frontend/templates/index.html b/backend/frontend/templates/frontend/index.html similarity index 100% rename from backend/frontend/templates/index.html rename to backend/frontend/templates/frontend/index.html