2👍
✅
Just add following line at top of your template:
{% load url from future %}
The URL name enclosed in quotes is not compatible with Django < 1.5. For compatibility load the above library in template and it should work fine. See the note here.
P.S you could just use the URL name, see here every URL has a name defined which can be used in templates:
{% url 'account_logout' %}
Source:stackexchange.com