fix docker-django/cron problem

This commit is contained in:
2025-08-10 18:15:28 +02:00
parent fb0c7da252
commit 877a7be4aa
3 changed files with 14 additions and 24 deletions

View File

@@ -120,7 +120,7 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/5.2/howto/static-files/
STATIC_URL = 'static/'
STATIC_URL = '/static/'
STATICFILES_DIRS = [BASE_DIR / 'static']
# STATIC_ROOT could be set for collectstatic in production
# STATIC_ROOT = BASE_DIR / 'staticfiles'