Skip to content
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

README example qs.all().filter() doesn't work #17

Open
dandavison opened this issue Jul 5, 2013 · 2 comments
Open

README example qs.all().filter() doesn't work #17

dandavison opened this issue Jul 5, 2013 · 2 comments

Comments

@dandavison
Copy link

>>> from mock_django.query import QuerySetMock

>>> qs = QuerySetMock(Post, 1, 2, 3)

>>> qs.all().filter()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-14-4db5ce9e96fc> in <module>()
----> 1 qs.all().filter()

AttributeError: 'generator' object has no attribute 'filter'
@boydjj
Copy link
Contributor

boydjj commented Aug 20, 2013

Yeah, I think I wrote that and shouldn't have. This is pretty much a dupe of #15.

@JamesBradbury-Abide
Copy link

I am also experiencing this issue with 0.6.10. I thought that #15 had been closed, so shouldn't this be working? Sorry if I've misunderstood how these things work.

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

No branches or pull requests

3 participants