from django.urls import path from . import views app_name = "sightings" urlpatterns = [ path( r'', views.SightingListView.as_view(), {'page':1}, name="list" ), path( r'/', views.SightingListView.as_view(), name="list" ), path( r'', views.SightingDetailView.as_view(), name='detail' ), path( r'/', views.SightingListUserView.as_view(), {'page':1}, name='list_by_person' ), path( r'//', views.SightingListUserView.as_view(), name='list_by_person' ), ]