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