fix: update STATIC_URL to include leading slash for correct static file serving

This commit is contained in:
gabdevele
2026-06-17 18:44:03 +02:00 Unverified
parent eb0163db7c
commit 648baeab5e
3 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -79,11 +79,10 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/4.0/howto/static-files/
STATIC_URL = 'static/'
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
# Default primary key field type
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'