email verification sent for users loaded thru CSV

This commit is contained in:
Sam
2021-02-05 13:11:09 +00:00
parent 75234953c0
commit a9cb7cedd6
7 changed files with 67 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ ROOT_URLCONF = 'back_latienda.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'DIRS': [os.path.join(BASE_DIR, '../templates'),],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [

View File

@@ -52,3 +52,5 @@ SIMPLE_JWT = {
'SLIDING_TOKEN_LIFETIME': timedelta(minutes=5),
'SLIDING_TOKEN_REFRESH_LIFETIME': timedelta(days=1),
}
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'