سؤال

How can I use django-tables2 output in django-cms templates? Since django-cms using plugins for page elements, should I write a custom plugin for it to work with the tables I generated with django-tables 2? I have other elements such as django-filter forms, can they be incorporated into Django-cms as well?

هل كانت مفيدة؟

المحلول

Create a django CMS plugin [1] which uses your django-tables2 models.

[1] http://docs.django-cms.org/en/2.4.2/extending_cms/custom_plugins.html

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top