NikolaiT

Registrato in data
NikolaiT

Aggiornamenti alla documentazione

Mostra tutte le attività
Pagina Data Commento

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