TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #221 · 5 мар.

В Python есть удобный почтовый debug-сервер. Он поможет проверить работу почты вашего web-проекта на этапе разработки без необходимости настраивать внешние сервисы или взаимодействие с реальными серверами Google или Yandex. Этот сервер просто печатает все сообщения в консоль. Таким образом удобно дебажить одноразовые ссылки активации или просто факт отправки письма по расписанию. Запускается очень просто: python3 -m smtpd -n -c DebuggingServer localhost:1025 Теперь настройте ваш проект на использование этого сервера. Например вот так настраивается Django: # settings.py if DEBUG: EMAIL_HOST = 'localhost' EMAIL_PORT = 1025 EMAIL_HOST_USER = '' EMAIL_HOST_PASSWORD = '' EMAIL_USE_TLS = False DEFAULT_FROM_EMAIL = '[email protected]' #django#tricks

Резултати

Пронајдени 3 слични објави

Пребарај: #antimalarials

当前筛选 #antimalarials清除筛选

#AntimicrobialResistance is when medicines like #antimalarials, tetracycline, septrin, and amoxicillin no longer treat diseases they cured previously. Using antimicrobials "anyhow " is making the treatment of common infections more difficult. Let us work together to save medicines. #BeAntimicrobialsAware

#AntimicrobialResistance is when medicines like #antimalarials, tetracycline, septrin, Amoxycillin no longer treat diseases they cure previously. Using antimicrobials "anyhow " is making the treatment of common infections more difficult. #WorldAntimicrobialAwarenessWeek2022

#AntimicrobialResistance is when medicines like #antimalarials, tetracycline, septrin, and amoxicillin no longer treat diseases they cured previously. Everyone everywhere, including users and non-users of #antimicrobials has a role to play to prevent #AMR. #BeAntimicrobialsAware