Matt Bannert
Matt Bannert

Reputation: 28264

Can I use a plugin on a django cms page that already has an app hook?

I attach a Django app to a CMS page by using the Advanced settings menu and adding the app to the page as an app hook. By default plugins that I add to this page are ignored.

I would like to have CMS editable text / content on the same page as well in order to be more flexible than just editing the app's code all the time. Is there a way to do so EXCEPT for turning the app into a plugin itself.

Intuitively I am looking for something that would display CMS plugins inside my app. Is this possible? If so, can somebody hand me a starting point (probably right part of the documentation). I just found this from the django cms documentation.

Upvotes: 0

Views: 219

Answers (1)

digi604
digi604

Reputation: 1090

You can use {% static_placeholder "my_name" %} template tags in your app templates. Or you can use a placeholder field in your app models.

Upvotes: 1

Related Questions