Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Fixing authentication #409

Closed
wants to merge 2 commits into from
Closed

Fixing authentication #409

wants to merge 2 commits into from

Conversation

kakulukia
Copy link

not sending a request object is deprecated since Django 1.11 and this also broke Django Axes .. since the request is already in the context, thats an easy fix

not sending a request object is deprecated since Django 1.11 and this also broke Django Axes .. since the request is already in the context, thats an easy fix
@kakulukia
Copy link
Author

Well, the serializer tests dont fill the request context in the same way as the JSONWebTokenAPIView is initializing its serializer .. BUT not sending a request object in the authenticate call is deprecated since Django 1.11.
Sadly i dont know how to fake the request that easily otherwise i would fix the failing serializer test.
Please somebody help me out here!?

@jksimoniii
Copy link

Addressed #412

@kakulukia kakulukia closed this Dec 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants