Skip to content

Non empty queryset cast to list results in empty list #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bbenko opened this issue Mar 24, 2014 · 1 comment
Open

Non empty queryset cast to list results in empty list #60

bbenko opened this issue Mar 24, 2014 · 1 comment
Labels

Comments

@bbenko
Copy link

bbenko commented Mar 24, 2014

This happens on some instances of v. Works fine for others.

In [2]: v.browse.all()
Out[2]: [<Browse: Prosthodontics>, <Browse: Restorative Dentistry>]

In [3]: list(v.browse.all())
Out[3]: []

In [4]: list(v.browse.all().no_cache())
Out[4]: [<Browse: Prosthodontics>, <Browse: Restorative Dentistry>]

Another example for different instance that works fine:

In [14]: list(v2.browse.all())
Out[14]:
[<Browse: Proximal Humerus Reverse Shoulder>,
 <Browse: Reverse Shoulder Arthroplasty>]
@tobiasmcnulty
Copy link
Member

Hi @bbenko, is this still an issue for you? If so would it be possible to reproduce in unit test form? Many thanks!

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

No branches or pull requests

2 participants