mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-28 02:04:40 +03:00
00ff825b8c
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 |
||
---|---|---|
.. | ||
api | ||
migrations | ||
tests | ||
__init__.py | ||
adapters.py | ||
admin.py | ||
apps.py | ||
forms.py | ||
models.py | ||
tasks.py | ||
urls.py | ||
views.py |