from django.urls import path, re_path, include from django.views.generic.base import RedirectView from ..views import guide_views as views app_name = "guides" urlpatterns = [ path( r'', views.GuideListView.as_view(), {'page':1}, name="guide-base" ), path( r'/', views.GuideTopicListView.as_view(), {'page':1}, name="guides-by-topic" ), ]