S
S
Sergey Ganzhela2017-10-04 10:28:48
Django
Sergey Ganzhela, 2017-10-04 10:28:48

Django send_mail old settings apply?

Good afternoon. Such a situation in the project is mailing letters is set up, it was necessary to change the sending address, changed in settings.py, uploaded uwsgi nginx to the server and the server itself, but when sending letters, I get 500, I looked through the debug in the browser console in the response from the server 500 and EMAIL_HOST_USER is used in decryption old record and non-new settings (in general, they didn’t do anything but everything was empty) the settings are old. Does anyone know how to clean and where?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
un1t, 2017-10-04
@Sergiy_Hanzhela

1. The workers may not have restarted. Do uwsgi stop, make sure everything is stopped, do uwsgi start.
2. Perhaps somewhere in the code hardcoded. Grab the old settings in the code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question