File tree 2 files changed +17
-0
lines changed
2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,17 @@ SECRET_KEY=defina_sua_chave_aqui
3
3
ALLOWED_HOSTS=localhost, 127.0.0.1
4
4
INTERNAL_IPS=127.0.0.1
5
5
DATABASE_URL:postgres://postgres:postgres@localhost/postgres
6
+
6
7
# Configurações AWS
7
8
AWS_ACCESS_KEY_ID=
8
9
AWS_SECRET_ACCESS_KEY=
9
10
AWS_STORAGE_BUCKET_NAME=
10
11
SENTRY_DSN=
12
+
13
+ # Configurações de Email
14
+ EMAIL_BACKEND='django.core.mail.backends.console.EmailBackend'
15
+ EMAIL_HOST=localhost
16
+ EMAIL_PORT=25
17
+ EMAIL_HOST_USER=
18
+ EMAIL_HOST_PASSWORD=
19
+ MAIL_USE_TLS=True
Original file line number Diff line number Diff line change 129
129
LOGIN_REDIRECT_URL = reverse_lazy ('modulos:indice' )
130
130
LOGOUT_REDIRECT_URL = reverse_lazy ('core:home' )
131
131
132
+ # Configs Email
133
+ EMAIL_BACKEND = config ('EMAIL_BACKEND' )
134
+ EMAIL_HOST = config ('EMAIL_HOST' )
135
+ EMAIL_PORT = config ('EMAIL_PORT' )
136
+ EMAIL_HOST_USER = config ('EMAIL_HOST_USER' )
137
+ EMAIL_HOST_PASSWORD = config ('EMAIL_HOST_PASSWORD' )
138
+ MAIL_USE_TLS = config ('MAIL_USE_TLS' )
139
+
132
140
# Debug toolbar configuration
133
141
if DEBUG :
134
142
INSTALLED_APPS .append ('debug_toolbar' )
You can’t perform that action at this time.
0 commit comments