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

**URL:** <https://forum.djangoproject.com/t/http-error-405-a-href-url-logout-log-out-a/41043>\
**Category:** Mystery Errors\
**Created:** [May 22, 2025, 12:10pm UTC](https://forum.djangoproject.com/t/http-error-405-a-href-url-logout-log-out-a/41043 "2025-05-22T12:10:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![singuraja](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/singuraja/32/28297_2.png) [@singuraja](https://forum.djangoproject.com/u/singuraja)\
**Post date:** [May 22, 2025, 12:10pm UTC](https://forum.djangoproject.com/t/http-error-405-a-href-url-logout-log-out-a/41043/1 "2025-05-22T12:10:33Z")

</div>

Log Out

 is throwing error, "HTTP ERROR 405". any help please.

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [May 22, 2025, 12:15pm UTC](https://forum.djangoproject.com/t/http-error-405-a-href-url-logout-log-out-a/41043/2 "2025-05-22T12:15:01Z")

</div>

See [Doubt regarding django auth views (login,logout) - #2 by KenWhitesell](https://forum.djangoproject.com/t/doubt-regarding-django-auth-views-login-logout/38028/2) and the threads linked by it.
