{"categories":[{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/2"}],"enrichment":{"capability":"Provides type stubs for Django to enable static type checking with mypy, pyright, and other type checkers without requiring a mypy plugin.","skillfed_tags":["type-stubs","django","static-typing"],"use_cases":["Add type hints to Django ORM models so foreign keys and related managers are properly typed for IDE autocomplete and type checking","Enable pyright or other non-mypy type checkers to validate Django code without plugin crashes","Annotate view functions with typed HttpRequest subclasses to enforce authentication requirements at the type level","Catch type errors in Django querysets and manager calls during development rather than at runtime"],"what_it_does":"django-types is a type stub package that adds static type information for Django, enabling type checkers like mypy and pyright to understand Django's API. It was forked from django-stubs specifically to remove the mypy plugin dependency, which means it works with multiple type checkers and avoids crashes caused by Django configuration issues.\n\nThe package helps developers annotate Django models, querysets, managers, and HTTP request objects with proper types. It includes guidance for common patterns like foreign key relationships, related managers, and authenticated request handlers. Since Django's ORM classes don't support runtime subscripting (e.g., QuerySet[MyModel]), the stubs document workarounds using string annotations or a companion monkeypatch utility.","worth_installing":"Yes. django-types is actively maintained, has no known vulnerabilities, low install friction, and is essential for any Django project using static type checking. The MIT license is permissive. Install it if you use type checkers with Django; it's a standard practice for modern Django development."},"id":"django-types","links":{"html":"https://skillfed.io/packages/django-types","md":"https://skillfed.io/packages/django-types.md","pypi":"https://pypi.org/project/django-types/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-22","license_spdx":"MIT","license_treatment":"permissive","name":"django-types","python_support":"supports_current","summary":"Type stubs for Django"},"popularity":{"monthly_downloads":1069134,"position":4409,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.24.0"}
