Собрали в одном месте самые важные ссылкии сделали Тренажер IT-инцидентов для DevOps/SRE
ㅤ
A written guide to my talk on deploying Django and why 90% of it is the same.
`lzma` compresses the most and `zlib` is about as fast as `zstd` in `django_redis` as compressor.
What you need to know before putting a Django project that uses SQLite in production. This is part 5 of a series that includes information on write-ahead logging, locking errors, performance, and more.
Django silently converts None values in non-nullable string fields into empty strings, but a simple CheckConstraint can enforce truly required values and prevent empty data from slipping into your database.
Fix Django’s case-sensitive unique constraint pitfalls by cleaning duplicates, adding Lower() constraints, and safely migrating with PostgreSQL CONCURRENTLY to avoid downtime.
Based on GitHub stars and PyPI download numbers.
How to control NULL value placement when sorting Django QuerySets using F() expressions.
A website and repo with 39 common antipatterns, listing them as well as suggested changes. Worth a look!
Indexing a QuerySet can return nondeterministic rows because slicing does not add ordering, unlike first, which orders by primary key.