Error Using django-tables2 - Expected table or queryset, not 'str'

后端 未结 4 1433
感动是毒
感动是毒 2021-02-05 19:13

I am trying to create some tables for my application using django-tables2 and running into some difficulties. I am using Python 2.7, and Django 1.7. I am following the tutorial,

4条回答
  •  自闭症患者
    2021-02-05 20:04

    Had the same problem. I forgot to add SingleTableMixin in the parameters of the view class

提交回复
热议问题