django-modelcluster
django-modelcluster copied to clipboard
values_list('pk') not working
If you have FakeQueryset and try to do .values_list('pk') it raises exception that pk field doesn't exists.
This syntax works in plain Django queryset.
Workaround: Just replace pk with id.
Hello @mihalikv, can you assign this task to me, happy to contribute.
@kehach07 You are welcome to work on any issue that isn't already being worked on - you don't have to ask to be assigned. Please see https://github.com/wagtail/wagtail/wiki/Why-you-shouldn't-ask-to-be-assigned-an-issue