Commit 2cbd7fcd authored by fred's avatar fred

replacing tabs by spaces

parent f68ab5a5
......@@ -162,7 +162,7 @@ class Home(TemplateView):
context['newsImaged'] = NewsItem.objects.all().exclude(image__isnull=True).exclude(image__exact='').order_by('-datetime')[:3]
context['news'] = NewsItem.objects.all().order_by('-datetime')[:60]
context['emissions'] = Emission.objects.filter(archived=False).order_by('title')
context['player'] = audioPlayer()
context['player'] = audioPlayer()
return context
home = Home.as_view()
......@@ -176,7 +176,7 @@ class News(TemplateView):
context['news'] = NewsItem.objects.all().order_by('-datetime')[:60]
context['categories'] = NewsCategory.objects.all()
context['emissions'] = Emission.objects.filter(archived=False).order_by('?')
context['player'] = audioPlayer()
context['player'] = audioPlayer()
return context
news = News.as_view()
......@@ -196,8 +196,8 @@ class Listen(TemplateView):
def get_context_data(self, **kwargs):
context = super(Listen, self).get_context_data(**kwargs)
context['player'] = audioPlayer()
return context
context['player'] = audioPlayer()
return context
listen = Listen.as_view()
......
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