Adding a custom User model
This commit is contained in:
@@ -22,6 +22,7 @@ INSTALLED_APPS = [
|
||||
"django.contrib.sessions",
|
||||
"django.contrib.messages",
|
||||
"django.contrib.staticfiles",
|
||||
"core",
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
@@ -54,6 +55,8 @@ TEMPLATES = [
|
||||
|
||||
WSGI_APPLICATION = "app.wsgi.application"
|
||||
|
||||
AUTH_USER_MODEL = "core.User"
|
||||
|
||||
|
||||
# Database
|
||||
# https://docs.djangoproject.com/en/3.1/ref/settings/#databases
|
||||
|
||||
Reference in New Issue
Block a user