Projet

Général

Profil

« Précédent | Suivant » 

Révision 3d53199c

Ajouté par Jérôme Schneider il y a presque 10 ans

wcsinst: rewrite settings to support an ini file

Refs #4956

Voir les différences:

wcsinst/wsgi.py
18 18
# We defer to a DJANGO_SETTINGS_MODULE already in the environment. This breaks
19 19
# if running multiple sites in the same mod_wsgi process. To fix this, use
20 20
# mod_wsgi daemon mode with each site in its own daemon process, or use
21
# os.environ["DJANGO_SETTINGS_MODULE"] = "wcsinst.settings"
22 21
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "wcsinst.settings")
23 22

  
24 23
# This application object is used by any WSGI server configured to use this

Formats disponibles : Unified diff