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

Резултати

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

Пребарај: #finalmatch

当前筛选 #finalmatch清除筛选

🏆⚽️ On July 19–20, the quarterfinals and semifinals of the African Student Football Tournament took place in Yekaterinburg! 🔥 The matches had it all: – intense action on the field, – the thrill of victory and the heartbreak of defeat, – own goals, Afro beats, and passionate fans! 🎉🙌 🇿🇦 The Office of the Honorary Consul of South Africa awarded Man of the Match prizes. 🏅👏 ⚔️The final showdown is set! Mali🇲🇱 vs Guinea🇬🇳 will face off for the championship title. 🗓Saturday, July 26 — stay tuned for updates on the time and venue! #Soccer#Football#StudentTournament#Yekaterinburg#Mali#Guinea#AfroFootball#FinalMatch#Sports#SouthAfrica#UniversityLife#AfricaInRussia