IT-новости про Python, которые стоит знать

Собрали в одном месте самые важные ссылки
и сделали Тренажер IT-инцидентов для DevOps/SRE

     15.08.2025       Выпуск 609 (11.08.2025 - 17.08.2025)       Статьи

Combining Django signals with in-memory LRU cache

It's easy to combine functools.lru_cache with Django signals to get a good memoization pattern on Django ORM queries.

     10.08.2025       Выпуск 608 (04.08.2025 - 10.08.2025)       Статьи

Combining Django signals with in-memory LRU cache

It's easy to combine functools.lru_cache with Django signals to get a good memoization pattern on Django ORM queries.

     02.08.2025       Выпуск 607 (28.07.2025 - 03.08.2025)       Статьи
     31.07.2025       Выпуск 607 (28.07.2025 - 03.08.2025)       Статьи
     28.07.2025       Выпуск 607 (28.07.2025 - 03.08.2025)       Статьи
     23.07.2025       Выпуск 606 (21.07.2025 - 27.07.2025)       Статьи
     15.07.2025       Выпуск 605 (14.07.2025 - 20.07.2025)       Статьи

How to Get Foreign Keys Horribly Wrong

Распространённые ошибки и возможности оптимизации в Django c Внешними ключами

     27.06.2025       Выпуск 602 (23.06.2025 - 29.06.2025)       Статьи
     27.06.2025       Выпуск 602 (23.06.2025 - 29.06.2025)       Статьи

How to Enjoy Debugging in Production - Karen Tracey

Доклад с DjangoCon Europe 2025

     26.06.2025       Выпуск 602 (23.06.2025 - 29.06.2025)       Статьи

Peter Bengtsson: Native connection pooling in Django 5 with PostgreSQL

Enabling native connection pooling in Django 5 gives me a 5.4x speedup.

     25.06.2025       Выпуск 602 (23.06.2025 - 29.06.2025)       Статьи
     13.06.2025       Выпуск 600 (09.06.2025 - 15.06.2025)       Статьи

Better Django management commands with django-click and django-typer

Streamline Django management commands using django-click and django-typer for cleaner syntax, built-in argument parsing, and richer output via type annotations and customizable CLI styling.

     11.06.2025       Выпуск 600 (09.06.2025 - 15.06.2025)       Статьи
     06.06.2025       Выпуск 599 (02.06.2025 - 08.06.2025)       Статьи

Automatic Dead‑Link Detection

django-linkcheck is a Django app that automates dead link detection in URLFields and HTML content, schedules checks, and provides an admin interface.

     06.06.2025       Выпуск 599 (02.06.2025 - 08.06.2025)       Статьи

Optimizing Django Docker Builds with Astral’s `uv`

Astral’s uv dramatically accelerates and secures Django Docker builds by leveraging multi-stage images, cache mounts, and strict lockfile verification for deterministic dependency management.

     23.05.2025       Выпуск 597 (19.05.2025 - 25.05.2025)       Статьи

Dataclass For Django Custom Command Arguments

Leveraging dataclasses for Django custom command arguments centralizes default settings and URL query construction, streamlining code and reducing potential mismatches.

     16.05.2025       Выпуск 596 (12.05.2025 - 18.05.2025)       Статьи

Setting up NGINX Unit (and switching from uWSGI)

Switch Django apps from uWSGI to NGINX Unit using JSON configuration, add SECURE_PROXY_SSL_HEADER, adjust socket proxy_pass, and enable ASGI/WSGI deployments.

     03.05.2025       Выпуск 594 (28.04.2025 - 04.05.2025)       Статьи
     25.04.2025       Выпуск 593 (21.04.2025 - 27.04.2025)       Статьи

You don't need Django CompositePrimaryKeys

Django 5.2 adds CompositePrimaryKey support for legacy or sharded databases, but new models should avoid composite keys in favor of surrogate keys and unique constraints.