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 слични објави

Пребарај: #disasteraid

当前筛选 #disasteraid清除筛选
Venezuelanalysis

@venanalysis · Post #2015 · 27.06.2025 г., 20:54

📰 NEWS | Venezuela Deploys Nationwide Task Force After Heavy Rains Cut Off Thousands and Damage Road Infrastructure Torrential rains have caused widespread flooding and landslides in the states of Mérida, Trujillo, Barinas, Portuguesa, and Táchira. The intense weather has cut off thousands of families and severely damaged road infrastructure. In response, President Nicolás Maduro activated a nationwide task force involving the armed forces, local governments, and communal organizations. Authorities reported 25 collapsed bridges—16 completely destroyed—and 370 affected homes, with a third totally lost. 🔗 Read the full report here: https://shorturl.at/oP4bE #DisasterAid#Flooding