WhisperMusic / WhisperServer

0 stars 0 forks source link

405 Method Not Allowed when logging out #37

Closed soucelover closed 5 months ago

soucelover commented 5 months ago

Issue

When trying to access /api-auth/logout/?next=/ browser only gets 405 error code. This page is responsible for logging out.

Possible fixes

On some forums they said that there are workaround with superusers. Also django framework can be downgraded to fix this.

It seems like this is an issue of Django or DRF so I think that only such workarounds are possible.

soucelover commented 5 months ago

The problem was with Django 5 framework. New versions have some not fixed bugs so it was considered to fall back to Django 4.2.