Fix MP3 feed

This commit is contained in:
Ben Sturmfels 2023-10-12 11:51:15 +11:00
parent bf64250aa3
commit 9e7c3a7709
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -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'),
]