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

Doesn't support .select_related() #7

Open
ZuluPro opened this issue Apr 29, 2020 · 1 comment
Open

Doesn't support .select_related() #7

ZuluPro opened this issue Apr 29, 2020 · 1 comment

Comments

@ZuluPro
Copy link

ZuluPro commented Apr 29, 2020

Hello
Thank you for this project.
I have an issue with usage:

If I use .select_related the ProxyForeignKey is canceled, example:

>>> User.objects.all()[0].role
<RoleProxy: Chaud>
>>> User.objects.select_related('role')[0].role
<Role: Chaud>
@jelteliekens
Copy link

Hi,

I have exactly the same problem as @ZuluPro . I've little in depth Django knowlegde to figure this out otherwise I would like to help.

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

2 participants