clokep / django-querysetsequence

Chain multiple (disparate) QuerySets in Django
https://django-querysetsequence.readthedocs.io/
ISC License
107 stars 25 forks source link

'QuerySetSequence' object has no attribute 'query' #65

Closed Fethienv closed 4 years ago

Fethienv commented 4 years ago

Hi

This error tiger when enter to admin module list page `

Request Method: GET

http://127.0.0.1:8000/admin/shop/product/?e=1 3.0.5 AttributeError 'QuerySetSequence' object has no attribute 'query'

`

clokep commented 4 years ago

QuerySetSequence does not implement the query attribute since it doesn't directly make queries. I'm unsure of how you're trynig to use it, but I'd be surprised if it showed up in admin somehow.

Not implementing query should probably be mentioned in the docs though...