Django wants this when DEBUG = False. (imported from commit 9c30b59aa0976be40ac64d16774c97f0e80f06aa)