add authentication app
This commit is contained in:
parent
5f68e12f82
commit
12191369b7
12 changed files with 882 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue