Adding a custom User model

This commit is contained in:
2020-11-04 21:53:20 -03:00
parent b1d7d1b636
commit c8aaf33170
10 changed files with 142 additions and 0 deletions

View File

@@ -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