SuLab / WikiGenomesBase

A configurable codebase for launching organism specific WikiGenomes spinoff applications (e.g. ChlamBase.org) This is a web application framework for creating a model organism database leveraging the taxonomic, genetic and functional data that has been loaded to Wikidata.org by the Gene Wiki Project.
https://chlambase.org/
MIT License
7 stars 4 forks source link

Setting DEBUG to False crashes server #124

Closed djow2019 closed 6 years ago

djow2019 commented 6 years ago

Setting debug to false in settings.py crashes the server (not usable)

djow2019 commented 6 years ago

This only occurs in local hosting. Setting debug to False in production (and now chlambase dev) works as expected

djow2019 commented 6 years ago

Django does not host static files in production mode. You are supposed to use a provider like Nginx or Apache to serve the static files, hence django will not work with DEBUG = False in a local environment. Marking as closed