HTTP ERROR 405 -- <a href="{% url 'logout' %}">Log Out</a>

See Doubt regarding django auth views (login,logout) - #2 by KenWhitesell and the threads linked by it.

1 Like