mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-26 00:10:42 +03:00
Add djangorestframework-stubs to local.txt requirements Modify setup.cfg to add stubs to mypy settings Fix new type error in DRF `./users/api/views.py:19: error: Incompatible type for lookup 'id': (got "Union[AutoField[Union[Combinable, int, str], int], Any]", expected "Union[str, int]")` by asserting that `self.request.user.id` is an int |
||
---|---|---|
.. | ||
base.txt | ||
local.txt | ||
production.txt |