Чтобы установить PostgreSQL на Ubuntu и настроить подключение к проекту Django, выполните следующие шаги:
Обновите список доступных пакетов:
sudo apt update
Установите PostgreSQL:
sudo apt install postgresql postgresql-contrib
После установки PostgreSQL будет запущен автоматически. Вы также можете проверить его статус с помощью команды:
It’s time to eclipse the Python 3.11.9 release with two releases, one of which is the very last alpha release of Python 3.13:
300+ of the finest commits went into this latest maintenance release of the latest Python version, the most stablest, securest, bugfreeest we could make it.
https://www.python.org/downloads/release/python-3123/
Today we've issued the 5.0.4 bugfix release.
The release package and checksums are available from our downloads page, as well as from the Python Package Index. The PGP key ID used for this release is Natalia Bidart: 2EE82A8D9470983E.
SQLAlchemy 2.0.29 is now available.
Release 2.0.29 includes an adjustment to a behavior introdcued in 2.0.10 regarding the robustness of the new "insertmanyvalues" bulk insert feature. This adjustment allows third party libraries that define their own primary-key oriented datatypes, like GUID types, to work in this mode without requiring special adjustments. Also included are some ORM Annotated Declarative fixes, pep-484 typing fixes and test suite improvements, among other things.
Чтобы расширить существующую конфигурацию Nginx для работы с новым доменом xadmin.dev, вам нужно будет внести изменения в файл конфигурации для adminton.ru, добавив новый домен как дополнительное значение server_name.
Теперь доступна SQLAlchemy 2.0.28.
Релиз 2.0.28 включает в себя два исправления регрессии, связанные с ORM, одно из которых - регресс производительности в отношении параметров "критериев" ORM, таких как конструкция with_expression(), а также при добавлении критериев WHERE в параметры загрузчика, такие как selectinload(). Подход к замене значительно проще и может иметь заметный эффект для приложений, которые сталкиваются с этим конкретным путем к коду / сценарием.
Ссылки на подробный список изменений для версии 2.0.28 находятся в Changelog.
SQLAlchemy 2.0.28 доступна на Download Page.
In accordance with our security release policy, the Django team is issuing Django 5.0.3, Django 4.2.11, and Django 3.2.25. These releases addresses the security issue detailed below. We encourage all users of Django to upgrade as soon as possible.
WebAppUser Class Fields: Added missing is_premium, added_to_attachment_menu, and allows_write_to_pm fields to WebAppUser class to align with the Telegram API.
WebAppChat Class Implementation: Introduced the WebAppChat class with all its fields (id, type, title, username, and photo_url) as specified in the Telegram API, which was previously missing from the library.
WebAppInitData Class Fields: Included previously omitted fields in the WebAppInitData class: chat, chat_type, chat_instance, to match the official documentation for a complete Telegram Web Apps support.
A simple, but extensible Python implementation for the Telegram Bot API.
Both synchronous and asynchronous.
Supported Bot API version: 7.1!
В последнем обновлении были добавлены новые функции для администраторов супергрупп: возможность публикации, редактирования и удаления историй.
Также представлен новый класс ChatBoostAdded
и поле boost_added
для сервисных сообщений о пожертвованиях в чате.
Добавлены поля sender_boost_count
в класс Message
для отображения количества пожертвований пользователя, reply_to_story
для ответов на истории, а также chat
и id
в класс Story
для улучшенной интеграции историй.
В класс Chat
введено поле unrestrict_boost_count
, позволяющее учитывать пожертвования без ограничений, и custom_emoji_sticker_set_name
для персонализированных наборов стикеров эмодзи.
Эти обновления направлены на расширение возможностей управления контентом и интерактивности в чатах.