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

@ -9,7 +9,6 @@ from django.utils.translation import ugettext as _, ugettext_lazy
import aircox.programs.models as programs
import aircox.cms.models as cms
import aircox.cms.qcombine as qcombine
class Article (cms.Post):
@ -129,11 +128,3 @@ class Sound (cms.RelatedPost):
)
class Publications (qcombine.GenericModel):
"""
Combine views
"""
models = [ Article, Program, Diffusion, Sound ]