Install a custom user model
This commit is contained in:
parent
6bd1feff3b
commit
8bd2faa8a9
9 changed files with 78 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue