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'', views.RangeListView.as_view(), {'page':1}, name="list" ), path( r'', views.RangeListView.as_view(), name="list" ), ]