Skip to content
Advertisement

Tag: django-deployment

Django. DEBUG in production

I’m writing my first real project in Django and I have a problem with properly setting DEBUG in development and production. In my settings.py project file I have: So I expect that it should work as follows. By default DEBUG is set to True (I use this in my development). But on my production server I have an environmental variable

Advertisement