Refactor login and logout with built-in views

This commit is contained in:
Skia
2015-11-25 16:20:28 +01:00
parent b237cdbaae
commit 04bbf0db5b
5 changed files with 41 additions and 27 deletions

View File

@ -102,3 +102,5 @@ USE_TZ = True
STATIC_URL = '/static/'
AUTH_USER_MODEL = 'core.User'
LOGIN_URL = '/login'
LOGIN_REDIRECT_URL = '/'