Merge pull request #793 from gpodder/remove-advertise
[mygpo.git] / mygpo / subscriptions / urls.py
blob8961ad3c8725432d28131ed4c5b71fd6b7f5c39d
1 from django.urls import path, register_converter
3 from . import views
5 from mygpo.users import converters
8 register_converter(converters.UsernameConverter, "username")
11 urlpatterns = [
12 path("subscriptions/", views.show_list, name="subscriptions"),
13 path("download/subscriptions.opml", views.download_all, name="subscriptions-opml"),
14 path(
15 "user/<username:username>/subscriptions/rss/",
16 views.subscriptions_feed,
17 name="shared-subscriptions-rss",
19 path(
20 "user/<username:username>/subscriptions",
21 views.for_user,
22 name="shared-subscriptions",
24 path(
25 "user/<username:username>/subscriptions.opml",
26 views.for_user_opml,
27 name="shared-subscriptions-opml",