Trigger a view before plugins are processed in Django-cms -


i have views.py in django-cms application. there way trigger method in views.py , add stuff context before plugins processed?

i hook page(s) in question django-cms app hook. cause django-cms retrieve content page, hand on processing of request view before page rendered. see http://docs.django-cms.org/en/2.4.0/extending_cms/app_integration.html#app-hooks more information.

this way can add many values context need before plugins render, assuming you're using custom plugin , you're overriding render() method.


Comments

Popular posts from this blog

Java sticky instances of class com.mysql.jdbc.Field aggregating -