add authentication app

This commit is contained in:
j3d1 2023-06-15 01:16:52 +02:00
parent 5f68e12f82
commit 12191369b7
12 changed files with 882 additions and 0 deletions

View file

@ -46,6 +46,7 @@ INSTALLED_APPS = [
'rest_framework.authtoken',
'corsheaders',
'drf_yasg',
'authentication',
]
REST_FRAMEWORK = {
@ -109,6 +110,7 @@ DATABASES = {
}
}
AUTH_USER_MODEL = 'authentication.ToolshedUser'
# Password validation
# https://docs.djangoproject.com/en/4.1/ref/settings/#auth-password-validators