Auth user models change

This commit is contained in:
Dmitry Afanasyev 2021-10-27 10:53:07 +03:00
parent 7da2982b54
commit 196e9ab73b

View File

@ -2,6 +2,8 @@
##*Add to settings.py*
AUTH_USER_MODEL = 'accounts.CustomUser'
LOGIN_REDIRECT_URL = '/admin/'
LOGOUT_REDIRECT_URL = '/accounts/login/'