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.
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
pkwithid.