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
PUPUT_USERNAME_FIELD #66
Comments
Did you extend the default Django User model? Did you remove the username field in that custom User model? |
Are you absolutely sure? Ir raises: django.core.exceptions.FieldError: Non-relational field given in select_related: 'username'. Choices are: user_profiles, userprofile |
What Django version are you using? |
1.10.1 |
Hi @robslotboom. I did some tests and I could reproduce the error. I'll fix it ASAP. Thanks! |
Hi Marc, You are welcome. Best regards, Robert Slotboom Op 28 sep. 2016, om 12:20 heeft Marc Tudurí notifications@github.com het volgende geschreven:
|
I just ran into the same exact error as @robslotboom. |
It seems that Puput is not fully compatible with Django 1.10 right now. I'll fix it ASAP. thanks |
Fixed in the last commit |
get_entries() in puput.models BlogPage raises an error.
This results in select_related('owner__username') which is wrong and shoud be
select_related('owner')
The text was updated successfully, but these errors were encountered: