cookiecutter-django/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/users
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
..
api Add djangorestframework-stubs 2021-10-11 20:41:32 -05:00
migrations Remove first_name and last_name from migrations 2021-01-07 22:30:27 -05:00
tests Replaced ugettext_lazy by gettext_lazy 2021-05-15 21:37:03 -03:00
__init__.py Fix W391 blank line at end of file (#1136) 2017-04-23 01:27:58 +03:00
adapters.py Run Black on Travis (#1957) 2019-03-18 17:49:43 +00:00
admin.py Missing import 2021-01-25 21:08:33 +00:00
apps.py UsersAppConfig improvements 2019-05-15 20:10:55 -03:00
forms.py Refactored users.forms to make the code more readeable 2021-01-29 17:55:10 +05:30
models.py Ignore typing override in name removals 2021-01-07 22:39:18 -05:00
tasks.py Refactor Celery integration according to current best practices 2019-04-02 15:40:32 +01:00
urls.py Test isort flake8-isort & fix issues 2020-03-03 20:04:31 +00:00
views.py Updated test_urls and views to re-use User.get_absolute_url method instead of using reverse on the user:detail view 2021-02-26 12:04:48 +05:30