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
@@ -72,7 +72,7 @@ AUTH_PASSWORD_VALIDATORS = [
# 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