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

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

     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.

     16.04.2025       Выпуск 592 (14.04.2025 - 20.04.2025)       Статьи

How to Build Hot Module Replacement in Python

Django’s dev server, uvicorn, and others support hot-loading by restarting the service. For large programs this can be time consuming. This article shows you how to track just what needs to be reloaded and minimize the refresh to only those modules.

     12.04.2025       Выпуск 591 (07.04.2025 - 13.04.2025)       Статьи

Maps with Django: GeoDjango, Pillow & GPS

A quick-start guide to create a web map with images, using the Python-based Django web framework, leveraging its GeoDjango module, and Pillow, the Python imaging library, to extract GPS information from images.

     07.04.2025       Выпуск 591 (07.04.2025 - 13.04.2025)       Статьи
     04.04.2025       Выпуск 590 (31.03.2025 - 06.04.2025)       Статьи

Troubleshooting is a Lifestyle 😎

Systematically enhance Django troubleshooting by leveraging built-in indicators, error reporting, and extensible tools like the Debug Toolbar to isolate and resolve issues.

     31.01.2025       Выпуск 581 (27.01.2025 - 02.02.2025)       Статьи

Avoiding Mocks: Testing LLM Applications with LangChain in Django

A practical method for testing Django-based LLM apps with LangChain uses a custom fake backend to avoid mocks, enabling flexible refactoring and thorough validation of model interactions.

     29.01.2025       Выпуск 581 (27.01.2025 - 02.02.2025)       Статьи

Fake Django Objects With Factory Boy

The factory_boy library is a tool for managing fixtures for your tests. This article shows you how to use it with Django.

     24.01.2025       Выпуск 580 (20.01.2025 - 26.01.2025)       Статьи

Looking at Django task runners and queues

I use django-apscheduler to run a queue of scheduled tasks. Now I also need the ability to run one-off tasks and that turned out to not be so simple.