Using Django 1.10 I have no problem using my custom backend to login (not a custom user just the auth) but in 1.11rc1 I get the following exception:

Request Method: POST Request URL: http://127.0.0.1:8000/admin/login/?next=/admin/ Django Version: 1.11rc1 Exception Type: FieldError Exception Value: Cannot resolve keyword 'request' into field. Choices are: clientcontact, crudevent, date_joined, email, <...just more fields>

The backend:

def authenticate(self, **kwargs): if kwargs: username = kwargs.pop("username", None) if username: username_or_email = Q(username=username) | Q(email=username) password = kwargs.pop("password", None) try: user = User.objects.get(username_or_email, **kwargs) except User.DoesNotExist: pass else: if user.check_password(password): return user else: ...

In settings.py :

AUTHENTICATION_BACKENDS = ('base_app.auth_backend.JbcBackend', 'guardian.backends.ObjectPermissionBackend',)

I haven't been able to find anything, if someone could point me in the right direction that would be great. Here is the full Traceback: