Recently I use django-allauth
. (github here). It’s useful for social login, and upgrading functions for default login.
When using logout
, allauth basically supply logout confirm page.
If you want to remove this page, and just logout when get (/accounts/logout
), add this to settings.py
ACCOUNT_LOGOUT_ON_GET = True
'backend > django' 카테고리의 다른 글
Django: channels 2.0 with nginx + daphne (0) | 2018.06.20 |
---|---|
Django: use ckeditor in django - django ckeditor (0) | 2018.05.24 |
Django: architect - enhance ORM for make multiple table (0) | 2018.05.21 |
Django: add extra context to admin changelist view (0) | 2018.05.10 |
Django: multiple choices in django admin list_filter (0) | 2018.05.09 |