year added to index view
This commit is contained in:
@@ -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': {
|
||||
|
||||
Reference in New Issue
Block a user