| in blog | Django News |
|---|---|
| original entry | Django News - Revamp Your Django Admin and Supercharge Search - Apr 25th 2025 |
Explore fourteen advanced Python features: typing overloads and generics, context managers, metaclasses, and other tools to boost code safety, performance, and readability.
Python 3.14 will introduce template strings (t-strings) that produce Template objects enabling safe, flexible string interpolation to prevent injection issues.
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.
Prepopulate Mastodon toots with event hashtags by creating share URLs and saving a GitHub Gist shortcut to your mobile home screen.