Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use get_user_model instead of auth.models.user #240

Merged
merged 1 commit into from
Feb 15, 2021
Merged

Conversation

ipanova
Copy link
Member

@ipanova ipanova commented Feb 15, 2021

closes #8260

(cherry picked from commit 0aaeef4)

closes #8260

(cherry picked from commit 0aaeef4)

from rest_framework.authentication import BaseAuthentication
from rest_framework.exceptions import AuthenticationFailed
from rest_framework.permissions import BasePermission, SAFE_METHODS

User = get_user_model()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@pulpbot
Copy link
Member

pulpbot commented Feb 15, 2021

Warning: Issue #8260 is not at NEW/ASSIGNED/POST.

@ipanova ipanova merged commit cb3302d into pulp:2.3 Feb 15, 2021
@ipanova ipanova deleted the user-cp branch May 4, 2021 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants