cookiecutter-django/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}
Dalton Rardin 00ff825b8c
Add djangorestframework-stubs
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
2021-10-11 20:41:32 -05:00
..
contrib Update Django to 3.1.7 2021-02-21 17:55:05 +01:00
static Update project.js 2018-07-11 10:43:19 +00:00
templates Convert trans to translate in templates 2021-07-27 01:20:30 -04:00
users Add djangorestframework-stubs 2021-10-11 20:41:32 -05:00
utils Update {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/utils/context_processors.py 2020-07-24 11:29:11 -04:00
__init__.py First pass at running black across the project (#1602) 2018-04-08 17:03:29 -05:00
conftest.py Remove request_factory fixture, use the rf one from pytest-django 2020-03-26 18:21:11 +00:00