[Fixed]-How do I get a "debug" variable in my Django template context?

21👍

You also need to ensure the request’s IP address is in the INTERNAL_IPS in your settings (which you probably don’t have set): https://docs.djangoproject.com/en/2.1/ref/templates/api/#django-template-context-processors-debug

Leave a comment