Browse Source

Añado whitenoise a requirements

main
Celestino Rey 10 months ago
parent
commit
fb6f7d26b3
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      gestion_reservas/gestion_reservas/settings.py
  2. +1
    -0
      gestion_reservas/requirements.txt

+ 1
- 1
gestion_reservas/gestion_reservas/settings.py View File

@ -134,7 +134,7 @@ THOUSAND_SEPARATOR = '.'
# https://docs.djangoproject.com/en/5.1/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'wsgi', 'static')
STATIC_ROOT = BASE_DIR / "staticfiles"
# Default primary key field type
# https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field


+ 1
- 0
gestion_reservas/requirements.txt View File

@ -13,3 +13,4 @@ typing_extensions==4.12.2
django-calculation==1.0.0
djangorestframework==3.15.2
Markdown==3.7
whitenoise==5.2.0

Loading…
Cancel
Save