2021-02-24 20:13:54 -08:00
|
|
|
from django.urls import path
|
|
|
|
from . import views
|
2021-03-13 08:50:04 -08:00
|
|
|
from .episode_views import new_episode, edit_episode, confirm_delete_episode
|
2021-03-13 07:49:20 -08:00
|
|
|
from .feed_views import new_feed, edit_feed, confirm_delete_feed
|
2021-02-24 20:13:54 -08:00
|
|
|
from .audiorssfeed import AudioRssFeed
|
|
|
|
|
|
|
|
app_name = "audio"
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path('', views.home, name='home'),
|
2021-03-13 07:49:20 -08:00
|
|
|
path('new-feed/', new_feed, name='new_feed'),
|
2021-02-24 20:13:54 -08:00
|
|
|
path('feeds/', views.feeds, name='feeds'),
|
2021-03-13 07:49:20 -08:00
|
|
|
path('edit-feed/<str:pk>/<str:title_slug>', edit_feed, name='edit_feed'),
|
|
|
|
|
|
|
|
path('confirm-delete-feed/<str:pk>', confirm_delete_feed, name='confirm_delete_feed'),
|
2021-03-13 08:50:04 -08:00
|
|
|
path('confirm-delete-episode/<str:pk>', confirm_delete_episode, name='confirm_delete_episode'),
|
2021-03-13 07:49:20 -08:00
|
|
|
|
2021-02-24 20:13:54 -08:00
|
|
|
path('new-episode/<str:feed_pk>/<str:feed_title_slug>', new_episode, name='new_episode'),
|
|
|
|
path('edit-episode/<str:pk>/<str:title_slug>', edit_episode, name='edit_episode'),
|
|
|
|
path('rss/<str:slug>.xml', AudioRssFeed(), name='rss'),
|
|
|
|
path('feed/<str:pk>/<str:slug>', views.feed, name='feed'),
|
|
|
|
path('episode/<str:pk>/<str:slug>', views.episode, name='episode'),
|
|
|
|
]
|