Hi everyone,
I’m Ahmed, a contributor to django-stubs (8 merged PRs). I’ve submitted a GSoC 2026
proposal for “Add Types to Parts of Django” and would love your feedback.
The Plan
-
Ratchet CI — Incremental type enforcement where typed files can only grow, never shrink
-
Core Object Typing — Add types to
HttpRequest,HttpResponse,global_settings.py -
ORM Protocols — Define
ResolvableandCompilableprotocols for the expression pipeline -
IDE Hover Fix — Add docstrings to stubs so IDEs show useful info on hover
Full Proposal
All details here: GSoC 2026 Proposal: Gradual Native Typing for Django · GitHub
Would appreciate any feedback or suggestions!