Set DEBUG = False¶
Most importantly, you should never run Arches in production with
DEBUG = True. Open your
settings.py file (or
settings_local.py) and set
DEBUG = False (just add that line if necessary).
Turning off the Django debug mode will:
Suppress the verbose Django error messages in favor of a standard 404 or 500 error page.
You will now find Django error messages printed in your
Make sure you have
404.htmfiles in your project’s templates directory!
Cause Django to stop serving static files.
You must set up a real webserver, like Apache or Nginx, to serve your app. See Serving Arches with Apache.