Bladeren bron

Static root en wsgi-static

Celestino Rey 1 jaar geleden
bovenliggende
commit
408f06fcdf
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      gestion_reservas/gestion_reservas/settings.py

+ 1 - 1
gestion_reservas/gestion_reservas/settings.py

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