Friday, April 26, 2013

Re: [django_tables2] Expected table or queryset, not 'str'.

I got the same error today, anybody know a solution?

On Tuesday, 9 April 2013 12:06:57 UTC-7, Tomas Pelka wrote:

ValueError at /plyn

Expected table or queryset, not 'str'.
Request Method:GET
Request URL:http://127.0.0.1:8000/plyn
Django Version:1.5
Exception Type:ValueError
Exception Value:
Expected table or queryset, not 'str'.
Exception Location:/usr/lib/python2.7/site-packages/django_tables2-0.13.0-py2.7.egg/django_tables2/templatetags/django_tables2.py in render, line 176
Python Executable:/usr/bin/python
Python Version:2.7.3
Python Path:
['/home/tpelka/workspace/energie/wsgi/energie',   '/usr/lib/python2.7/site-packages/ropevim-0.4-py2.7.egg',   '/usr/lib/python2.7/site-packages/ropemode-0.2-py2.7.egg',   '/usr/lib/python2.7/site-packages/rope-0.9.4-py2.7.egg',   '/usr/lib/python2.7/site-packages/mozmill-1.5.20-py2.7.egg',   '/usr/lib/python2.7/site-packages/ManifestDestiny-0.2.2-py2.7.egg',   '/usr/lib/python2.7/site-packages/mozrunner-2.5.14-py2.7.egg',   '/usr/lib/python2.7/site-packages/jsbridge-2.4.16-py2.7.egg',   '/usr/lib/python2.7/site-packages/virtualenv-1.9.1-py2.7.egg',   '/usr/lib/python2.7/site-packages/django_tables2-0.13.0-py2.7.egg',   '/usr/share/qa-tools/python-modules',   '/usr/lib64/python27.zip',   '/usr/lib64/python2.7',   '/usr/lib64/python2.7/plat-linux2',   '/usr/lib64/python2.7/lib-tk',   '/usr/lib64/python2.7/lib-old',   '/usr/lib64/python2.7/lib-dynload',   '/usr/lib64/python2.7/site-packages',   '/usr/lib64/python2.7/site-packages/gst-0.10',   '/usr/lib64/python2.7/site-packages/gtk-2.0',   '/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode',   '/usr/lib/python2.7/site-packages',   '/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info']
Server time:út, 9 Dub 2013 20:55:56 +0200


Any clue why this error happen. Sources attached.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment