fff89e69df
As noted in the Django 2.1 release notes [1]: The authenticate() method of authentication backends requires request as the first positional argument. This can be seen here [2]. Simple enough, though it took me ages to figure this out because Django gave me *zero* warning that a backend because of this change. Heck, raising the TypeError would have helped :( [1] https://docs.djangoproject.com/en/2.2/releases/2.1/#features-removed-in-2-1 [2] https://github.com/django/django/commit/5e31be1b96f Change-Id: I0dd37d33c8e42a70c00a9f1460c1cec86c5b6006 Signed-off-by: Stephen Finucane <stephenfin@redhat.com> |
||
---|---|---|
.. | ||
locale | ||
plugin | ||
tests | ||
__init__.py | ||
backend.py | ||
exceptions.py | ||
forms.py | ||
middleware.py | ||
models.py | ||
policy.py | ||
urls.py | ||
user.py | ||
utils.py | ||
views.py |