graphite-project / graphite-web

A highly scalable real-time graphing system
http://graphite.readthedocs.org/
Apache License 2.0
5.89k stars 1.26k forks source link

[BUG] Django 3.x change AuthBackend methods #2703

Open deniszh opened 3 years ago

deniszh commented 3 years ago

Django 2.x do not requre request - https://docs.djangoproject.com/en/2.2/ref/contrib/auth/#django.contrib.auth.backends.ModelBackend.authenticate But 3.x is - https://docs.djangoproject.com/en/3.2/ref/contrib/auth/#django.contrib.auth.backends.ModelBackend.authenticate

Need some work to support both.

See #2702

deniszh commented 2 years ago

Well, maybe not - let's support only 3.x in 1.2.0 release and further - see https://github.com/graphite-project/graphite-web/issues/2738