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

Пребарај: #suggested

当前筛选 #suggested清除筛选
News and Tips

@NewsAndTipsNT · Post #3466 · 03.07.2025 г., 16:38

📰 Telegram has started developing a platform for creating your own gifts — Gift Studio. The platform will obviously allow you to make full-fledged and custom #gifts from your .tgs-files, which will be used fully, like regular gifts. In addition, due to the fact that Telegram added the text "by @xxx" next to "Collection gift №yyy", then in your custom gifts it will be possible to confirm your creative work and talent. 🛠Now the platform has just begun development, and authorization by phone number of your Telegram account does not work yet. #suggested