Собрали в одном месте самые важные ссылки
читайте авторский блог
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.
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.
Systematically enhance Django troubleshooting by leveraging built-in indicators, error reporting, and extensible tools like the Debug Toolbar to isolate and resolve issues.
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.
The factory_boy library is a tool for managing fixtures for your tests. This article shows you how to use it with Django.
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.
An overview on how to do complex filtering in Django with Subquery.
Avoid performance pitfalls by replacing the length template filter with count() for QuerySet objects to prevent excessive memory and database usage.
Safely squash Django migrations in long-running projects to optimize performance and maintain migration history integrity using django-model-info
“This document provides an overview of techniques and tools that can help get your Django code running more efficiently - faster, and using fewer system resources.”