@anze3db wins the prize for first blog mention of Django Mantle 🚀

https://blog.pecar.me/typing-your-django-project-in-2026/ #Django #Mantle

Typing Your Django Project in 2026

The first version of Django was released about 10 years before Python standardized its type hints syntax. Because of this it’s not surprising that getting type hints to work in your Django project is not going to be trivial. django-stubs with mypy If you want your Django codebase to be type checked then django-stubs is the go to package to use. It ships both type-stubs for most of Django’s public APIs as well as a mypy plugin that fills in the typing information for all the dynamic black magic that we love Django for. You’ll also want to include the monkeypatch from django-stubs-ext for best results.

Anže's Blog

@anze3db I gave a talk about this at the JetBrains PyTV event recently. It goes into more of the motivation:

https://www.youtube.com/watch?v=qKkyBhXIJJU&t=10591s

(Timestamp in link, in case the preview loses it)

Python Unplugged on PyTV – Free Online Python Conference

YouTube
@carlton cool talk, thanks for the link! I've also added it to the blog post.
@anze3db Thanks, let me know if you have any feedback!