switch to multi-table inheritance for posts; remove qcombine that is no more needed; add and integrate post.downcast + as template filter

This commit is contained in:
bkfox
2016-07-06 16:27:30 +02:00
parent cfce035527
commit ff02258d8b
7 changed files with 49 additions and 189 deletions

View File

@ -1,7 +1,8 @@
{% load i18n %}
{% load thumbnail %}
{% load aircox_cms %}
{% with object|downcast as object %}
<li {% if object.css_class %}class="{{ object.css_class }}"{% endif %}
{% for k, v in object.attrs.items %}
{{ k }} = "{{ v|addslashes }}"
@ -61,5 +62,5 @@
</a>
{% endif %}
</li>
{% endwith %}