GSoC 2026: Add Types to Parts of Django: Proposal & Ideas

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

  1. Ratchet CI — Incremental type enforcement where typed files can only grow, never shrink

  2. Core Object Typing — Add types to HttpRequest, HttpResponse, global_settings.py

  3. ORM Protocols — Define Resolvable and Compilable protocols for the expression pipeline

  4. IDE Hover Fix — Add docstrings to stubs so IDEs show useful info on hover

Full Proposal

:page_facing_up: All details here: GSoC 2026 Proposal: Gradual Native Typing for Django · GitHub

Would appreciate any feedback or suggestions!

1 Like