year added to index view

This commit is contained in:
fjrodriguez
2023-01-05 16:09:22 -06:00
parent 64555bc92a
commit f437232861
8 changed files with 106 additions and 57 deletions

View File

@@ -34,7 +34,7 @@ INSTALLED_APPS = [
'allauth.account',
'allauth.socialaccount',
'widget_tweaks',
'Clientes',
]
REST_FRAMEWORK = {
@@ -102,7 +102,7 @@ ACCOUNT_LOGOUT_ON_PASSWORD_CHANGE = True
EMAIL_TIMEOUT = 10
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_SUBJECT_PREFIX = 'AS Timbres'
if DEBUG:
if DEBUG :
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
@@ -121,6 +121,8 @@ else:
# Database
# https://docs.djangoproject.com/en/4.1/ref/settings/#databases
if DEBUG:
DATABASES = {
'default': {