Monday, December 30, 2013

django_tables2: TemplateSyntaxError: Caught ValueError while rendering: Expected table or queryset

Hi everyone.

I'm getting an error when I {% render_table table %} -- it seems that my calls to tables I define (i.e. table = CourseTable(<queryset>) are not actually returning Table objects.

I've posted more on StackOverflow for the sake of exposure and accessibility to people who may run into this problem in the future.


Would very much appreciate your thoughts!

Happy New Year's.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c685004a-6628-4f31-8355-052e93077e4b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment