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

New request : add foreign key to "settings.AUTH_USER_MODEL" #129

Open
pdelporte opened this issue Oct 3, 2021 · 0 comments
Open

New request : add foreign key to "settings.AUTH_USER_MODEL" #129

pdelporte opened this issue Oct 3, 2021 · 0 comments

Comments

@pdelporte
Copy link

Hello,
I have changed my default User class so when I want to have a foreign key to "User" I have to define 👍

author = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE, related_name='posts')

Would it possible to have it in the list "Relationship to" ?
Screenshot 2021-10-03 at 21 14 25

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

No branches or pull requests

1 participant