divanov11 / Django-To-Do-list-with-user-authentication

To Do list app with User Registration, Login, Search and full Create Read Update and DELETE functionality.
210 stars 115 forks source link

logout method changed to POST #24

Open alex-pythonista opened 8 months ago

alex-pythonista commented 8 months ago

In recent updates of Django, the developers changed the LogoutView method from GET to POST. Since this tutorial has not the updated code, beginners may get confused why their logout button does not work properly.

Here is a related issue to look into: https://forum.djangoproject.com/t/deprecation-of-get-method-for-logoutview/25533