Commit 5b59fc1e authored by fred's avatar fred
Browse files

remove unused URL

parent d692fe05
......@@ -19,7 +19,6 @@ urlpatterns = patterns('',
url(r'^emissions/(?P<slug>[\w,-]+)/$', 'panikweb.views.emission', name='emission-view'),
url(r'^ckeditor/', include('ckeditor.urls')),
url(r'^emissions/archives$', 'panikweb.views.emissionsArchives', name='emissionsArchives'),
url(r'^get$', 'panikweb.views.get', name='get'),
url(r'^listen/$', 'panikweb.views.listen', name='listen'),
url(r'^listen/archives/$', 'panikweb.views.listenArchives', name='listenArchives'),
url(r'^news/$', 'panikweb.views.news', name='news'),
......
......@@ -505,15 +505,6 @@ class EmissionsArchives(TemplateView):
emissionsArchives = EmissionsArchives.as_view()
class Get(TemplateView):
template_name = 'get.html'
def get_context_data(self, **kwargs):
context = super(Get, self).get_context_data(**kwargs)
context['emissions'] = Emission.objects.all().order_by('title')
return context
get = Get.as_view()
class Listen(TemplateView):
template_name = 'listen.html'
......
{% extends "base.html" %}
{% block main %}
<ul class="custom list">
{% for emission in emissions %}
<li>{% include "emissions/inline.html" %}</li>
{% endfor %}
</ul>
{% endblock %}
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