NikolaiT

Medlem sedan
NikolaiT

Senaste dokumentaktivitet

Visa all aktivitet
Sida Datum Kommentar

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