NikolaiT

D imttekki si
NikolaiT

Armud n tsemlit n melmi kan

Sken akk armud
Asebter Azemz Awennit

Django Tutorial Part 11: Deploying Django to production


explain why it's better to set the DEBUG var like this

Django Tutorial Part 11: Deploying Django to production


DEBUG = bool(os.environ.get('DJANGO_DEBUG', True)) is wrong because bool('False') == True