Created
October 4, 2012 15:45
-
-
Save tomplayford/3834497 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
>>> bundle.obj.verification.verified | |
Traceback (most recent call last): | |
File "/Users/tom/.virtualenvs/native/lib/python2.7/site-packages/ipython-0.13-py2.7.egg/IPython/core/interactiveshell.py", line 2746, in run_code | |
exec code_obj in self.user_global_ns, self.user_ns | |
File "<ipython-input-12-5d842a6d0fc4>", line 1, in <module> | |
bundle.obj.verification.verified | |
File "/Users/tom/.virtualenvs/native/lib/python2.7/site-packages/django/db/models/fields/related.py", line 350, in __get__ | |
rel_obj = qs.get(**params) | |
File "/Users/tom/.virtualenvs/native/lib/python2.7/site-packages/django/db/models/query.py", line 361, in get | |
num = len(clone) | |
File "/Users/tom/.virtualenvs/native/lib/python2.7/site-packages/django/db/models/query.py", line 85, in __len__ | |
self._result_cache = list(self.iterator()) | |
File "/Users/tom/.virtualenvs/native/lib/python2.7/site-packages/django/db/models/query.py", line 301, in iterator | |
obj = model(*row[index_start:aggregate_start]) | |
TypeError: __init__() takes at most 2 arguments (15 given) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment