custom user model that maintains id as pk

This commit is contained in:
Disco DeDisco
2026-01-30 15:04:47 -05:00
parent a734901b80
commit d724e03c3c
7 changed files with 48 additions and 5 deletions

View File

@@ -47,6 +47,7 @@ INSTALLED_APPS = [
'django.contrib.staticfiles',
# Custom apps
'apps.dashboard',
'apps.lyric',
# Depend apps
]
@@ -110,6 +111,8 @@ AUTH_PASSWORD_VALIDATORS = [
},
]
AUTH_USER_MODEL = "lyric.User"
# Internationalization
# https://docs.djangoproject.com/en/6.0/topics/i18n/