You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
withid
.The text was updated successfully, but these errors were encountered: