from django.urls import path, re_path, include from django.views.generic.base import RedirectView from ..views import range_views as views app_name = "range" urlpatterns = [ path( r'feed.xml', views.RangeRSSFeedView(), name="feed" ), path( r'/', views.RangeDetailView.as_view(), name="range-detail" ), path( r'', views.RangeListView.as_view(), {'page':1}, name="range-list" ), ]