user2649814
user2649814

Reputation: 317

Django debug mode False then the page doesn't work

I'M using Django in local server. If I turned debug mode to False, the web page is not available.(500) But it works perfect if the debug mode is true. What can I do to fix this?

Upvotes: -1

Views: 781

Answers (1)

lazy functor
lazy functor

Reputation: 2198

if it's django 1.5 it could be related to allowed host setting

https://docs.djangoproject.com/en/1.5/ref/settings/#std%3asetting-ALLOWED_HOSTS

Upvotes: 2

Related Questions