diff options
| author | David Smith <smithdc@gmail.com> | 2020-07-24 07:25:47 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-07-30 10:58:59 +0200 |
| commit | e74b3d724e5ddfef96d1d66bd1c58e7aae26fc85 (patch) | |
| tree | e478c6d04bbd8b8e1059d67e4e34e61a7666cc58 /django/test/client.py | |
| parent | 1173db4a16bb2938ba62a6cd50372a76a7f9e05f (diff) | |
Bumped minimum isort version to 5.1.0.
Fixed inner imports per isort 5.
isort 5.0.0 to 5.1.0 was unstable.
Diffstat (limited to 'django/test/client.py')
| -rw-r--r-- | django/test/client.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/test/client.py b/django/test/client.py index ce74a5fe53..41fe9e627b 100644 --- a/django/test/client.py +++ b/django/test/client.py @@ -611,6 +611,7 @@ class ClientMixin: def _login(self, user, backend=None): from django.contrib.auth import login + # Create a fake request to store login details. request = HttpRequest() if self.session: |
