Commit 6a5267a8 authored by fred's avatar fred
Browse files

remove rest of topik

parent a571b43c
......@@ -18,8 +18,6 @@ from datetime import datetime, timedelta
from emissions.models import Emission, Episode, NewsItem, SoundFile, Focus
from emissions.utils import period_program
from panikombo.models import Topik
from panikweb import utils
from panikweb import search
......@@ -358,16 +356,6 @@ def facet_tag(tag):
return tag.name
@register.filter
def image_file(page):
try:
matching_topik = Topik.objects.get(page=page)
return matching_topik.image
except Topik.DoesNotExist:
pass
return None
@register.filter
def set_absolute_urls(text):
text = text.replace('src="/', 'src="%s' % settings.WEBSITE_BASE_URL)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment