Correct gateway.html
template syntax error in local dev server environment with DEBUG set to False
#197
Labels
bug
Something isn't working
In the local dev server environment, when you:
$ export DEBUG='False'
in your shell$ python manage.py runserver_plus --cert-file cert.pem --key-file key.pem
...It throws this Template Syntax Error:
I’ve taken a close look at the
gateway.html
template carefully, paying close attention to the way static files are imported with Jinja syntax. Everything looks OK to me. Not sure what the issue is here. This needs to be fixed.I also noticed that when I re-export the DEBUG option to True, the error goes away. So to resolve this issue, the DEBUG namespace variable needs to be exported when set to False.
The text was updated successfully, but these errors were encountered: