Created
September 1, 2015 02:26
-
-
Save DanielCollins/6962c3ab6382f982aad7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> import backend.views | |
>>> from backend.models.db import db | |
>>> import backend.models.all | |
>>> from backend.models.users import Users | |
>>> Users() in Users.query | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
TypeError: argument of type 'BaseQuery' is not iterable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was pretty sure it worked because I have tested it.