Skip to content

Update queryset.py to solve bug: 'FakeQuerySet' object has no attribute '_prefetch_related_lookups'#163

Open
wimfeijen wants to merge 1 commit intowagtail:mainfrom
wimfeijen:patch-1
Open

Update queryset.py to solve bug: 'FakeQuerySet' object has no attribute '_prefetch_related_lookups'#163
wimfeijen wants to merge 1 commit intowagtail:mainfrom
wimfeijen:patch-1

Conversation

@wimfeijen
Copy link
Copy Markdown

Resolve bug:
'FakeQuerySet' object has no attribute '_prefetch_related_lookups'

Resolve bug: 
'FakeQuerySet' object has no attribute '_prefetch_related_lookups'
@gasman
Copy link
Copy Markdown
Contributor

gasman commented Jan 25, 2023

Thanks @wimfeijen! Please could you add a test for this?

@FrisoHarlaar
Copy link
Copy Markdown

Hi @gasman, how would I create a test for this? I am running into this same problem that would be fixed with this patch.

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

Successfully merging this pull request may close these issues.

3 participants