From 9e7c3a77090022937752a4cdca6d6833e553720f Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Thu, 12 Oct 2023 11:51:15 +1100 Subject: [PATCH] Fix MP3 feed --- www/podjango/urls.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/podjango/urls.py b/www/podjango/urls.py index 14a8e84d..c4d8b0c6 100644 --- a/www/podjango/urls.py +++ b/www/podjango/urls.py @@ -22,7 +22,7 @@ from django.conf.urls import url, include from django.contrib import admin from django.contrib.syndication.views import Feed -from podjango.feeds import feed_dict, view, OggCastFeed +from podjango.feeds import feed_dict, view, Mp3CastFeed, OggCastFeed from podjango import frontpage #handler404 = 'modpythoncustom.view404' @@ -33,8 +33,8 @@ app_name = 'podjango' urlpatterns = [ url(r'^$', frontpage.view), url(r'^cast/', include('podjango.apps.cast.urls')), - url(r'^feeds/cast-ogg/?$', OggCastFeed(), name='feed-ogg'), - url(r'^feeds/cast-mp3/?$', OggCastFeed(), name='feed-mp3'), + url(r'^feeds/cast-ogg/$', Mp3CastFeed(), name='feed-ogg'), + url(r'^feeds/cast-mp3/$', OggCastFeed(), name='feed-mp3'), url(r'^feeds/$', view, name='feeds'), ]