Add types to parts of Django
- Dominant language
- No language data
- Stars
- 188
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
### Code of Conduct
- [x] I agree to follow Django's Code of Conduct
### Feature Description
I would like types and/or type hints to be added or allowed to be added to Django.
### Problem
Right now when using Django it is not uncommon to need to look at the docs just to see what a function returns or what the arguments type is. While this has been proposed a few times now, the Python typing ecosystem has improved making this more viable. While there are some areas where this would be difficult and may even hurt the experience due to Django's complexity like the ORM. I feel that there are some parts like the request, response object, path, class-based views, etc that would greatly benefit from this.
### Request or proposal
proposal
### Additional Details
This has been discussed before, most recently https://forum.djangoproject.com/t/revisiting-types-in-django-dep-14/37832.
I thought I would add it here as well.
This would also help solve many of the issues here https://groups.google.com/g/django-developers/c/at-G0hZrfXE.
### Implementation Suggestions
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.