debug history

master
fefa4ka 10 years ago
parent 67eae3a088
commit c5f8ab6cd3
  1. 1
      promo/cms_plugins.py
  2. 1
      promo/templates/promo/index.html

@ -23,6 +23,7 @@ class PromoPluginPublisher(CMSPluginBase):
promo.text = promo.text.replace('#promo', promo.page_link.get_absolute_url())
context.update({
'instance': promo,
'history': history
})
return context

@ -4,5 +4,6 @@
{% block promo_content %}
{% if instance %}
{{ instance.text }}
{{ history }}
{% endif %}
{% endblock %}
Loading…
Cancel
Save