简体   繁体   中英

Mezzanine only loads admin pages on debug

I have a Mezzanine blog under development, hosted at Heroku.

While I have it on debug mode, by ensuring settings.py has DEBUG = True, everything works like a charm.

When I set it to false, any attempt to access admin gives me the generic error message. All other aspects of the site works fine, including blog posts I've made (with DEBUG = True) for testing.

I'm looking for any of two forms of help:

  1. How could I get better debugging information while having DEBUG = False in settings.py?
  2. Any hint or suggestion about what could be the problem.

Edit: My static files are being served with White Noise, locally, without any problem.

A couple of months late, but for posterity: I found the same issue with Mezzanine 4.3.1 on Heroku. Without delving under the hood of the Mezzanine source code, using version 4.2.3 works fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM