Thanks! That was it!
But no, I dont remeber ever seeing a deprecation warning about this.
But no, I dont remeber ever seeing a deprecation warning about this.
Am Do., 19. Juli 2018 um 23:06 Uhr schrieb Tim Graham <timograham@gmail.com>:
--Do you have deprecation warnings with Django 2.0.x? https://docs.djangoproject.com/en/dev/howto/upgrade-version/#resolving-deprecation-warningsFrom the 2.1 release notes: "Theauthenticate()
method of authentication backends requiresrequest
as the first positional argument."From the 1.11 release notes: "authenticate()
now passes arequest
argument to theauthenticate()
method of authentication backends. Support for methods that don't acceptrequest
as the first positional argument will be removed in Django 2.1."On Thursday, July 19, 2018 at 7:08:39 AM UTC-4, DirkBo wrote:After updating from 2.0.7 to 2.1rc1 when i call django.contrib.auth.authenticate(), my custom authentication Backends are now completely ignored, only django.contrib.auth.backends.ModelBackend is used.Is this happening for someone else or did i miss some changes?
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/t49_uHpbwPk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8136222c-d6a1-420a-b49d-5405ab67f977%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACfRmKC_5N07z-UO6k%3DPATDHw942wVa17pXgCTJ7OiEyJwN6CQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment