Files
django-stubs/django-stubs/core
Alexander Viklund 71751d3795 Issue 309 (#383)
* added tags for user models

* type test for HttpRequest.user

* test for User and AnonymousUser tags

* httrequest test fix

* checking python version fix for readibility

* Rewrite version check for readability

* Annotate is_authenticated/is_anonymous with Literal-type

* Add auth in INSTALLED_APPS in test

* Fix wrong type assertion in test

* Fix misconception of how branch-testing works

* Remove user from WSGIRequest

* Change HttpRequest-transformer to set user-type to include AnonymousUser

* Add check for anonymous_user_info=None to appease mypy

* Isort transformers/request

* Remove trailing whitespace

* Remove unused import

Co-authored-by: Kacper Szmigiel <szmigielkacper@gmai.com>
2020-06-03 20:29:19 +03:00
..
2020-04-24 12:44:55 +03:00
2020-01-30 14:38:23 +03:00
2020-06-03 20:29:19 +03:00
2019-12-01 20:46:11 +03:00
2018-11-13 20:13:28 +03:00
2019-02-20 15:22:46 +03:00
2020-06-03 12:58:03 +03:00
2018-12-21 01:17:17 +03:00