Complete login, sign up, and member details

This commit is contained in:
2020-01-08 23:43:59 +00:00
parent 5526cf708b
commit d59d24ae65
15 changed files with 382 additions and 40 deletions
+8
View File
@@ -53,6 +53,7 @@ INSTALLED_APPS = [
'rest_auth',
'allauth',
'allauth.account',
'allauth.socialaccount', # to support user deletion
'rest_auth.registration',
]
@@ -94,6 +95,10 @@ DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
},
'old_portal': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'old_portal.sqlite3'),
}
}
@@ -209,3 +214,6 @@ LOGGING = {
}
SITE_ID = 1
ACCOUNT_EMAIL_REQUIRED = True
ACCOUNT_EMAIL_VERIFICATION = 'none'
ACCOUNT_USERNAME_MIN_LENGTH = 3