Install a custom user model

This commit is contained in:
Danielle McLean 2017-10-23 09:04:59 +11:00
parent 6bd1feff3b
commit 8bd2faa8a9
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
9 changed files with 78 additions and 0 deletions

View file

@ -37,6 +37,8 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'users',
]
MIDDLEWARE = [
@ -81,6 +83,8 @@ DATABASES = {
}
AUTH_USER_MODEL = 'users.User'
# Password validation
# https://docs.djangoproject.com/en/1.11/ref/settings/#auth-password-validators