Skip to content
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.

Assets.objects behaves strangely #55

Open
rjw57 opened this issue Mar 1, 2018 · 1 comment
Open

Assets.objects behaves strangely #55

rjw57 opened this issue Mar 1, 2018 · 1 comment

Comments

@rjw57
Copy link
Member

rjw57 commented Mar 1, 2018

The query set returned from Asset.objects.get_queryset() doesn't seem to behave quite as one would expect.

>>> from assets.models import Asset
>>> Asset.objects.get_base_queryset().count()
1125
>>> Asset.objects.get_queryset().count()
...
TypeError: unhashable type: 'list'
>>> Asset.objects.count()
...
TypeError: unhashable type: 'list'
@rjw57
Copy link
Member Author

rjw57 commented May 1, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant