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

[refactor] FKs to 'auth.User' #143

Closed
atodorov opened this Issue Dec 14, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@atodorov
Member

atodorov commented Dec 14, 2017

Some models have FK fields as such:

models.ForeignKey('auth.User')

this needs to be models.ForeignKey(settings.AUTH_USER_MODEL) to make it more independent of the chosen user model class/backend.

We could probably create a pylint plugin for this as well.

atodorov added a commit that referenced this issue Dec 31, 2017

@atodorov atodorov closed this in ac862cf Dec 31, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment