), url( r'^sponsors/call/$', CallForSponsorsView.as_view(), name='call-for-sponsors' ), url( r'^sponsors/$', SponsorsView.as_view(), name='sponsors' ), url( r'^bar/menu$', MenuView.as_view(), name='menu' ), url( r'^villages/', include([ url( r'^$', VillageListView.as_view(), name='village_list' ), url( r'create/$', VillageCreateView.as_view(), name='village_create' ),
PeopleView.as_view(), name='people', ), # camp specific urls below here path( '<slug:camp_slug>/', include([ path('', CampDetailView.as_view(), name='camp_detail'), path('info/', CampInfoView.as_view(), name='info'), path( 'program/', include('program.urls', namespace='program'), ), path('sponsors/', SponsorsView.as_view(), name='sponsors'), path('bar/menu/', MenuView.as_view(), name='menu'), path( 'villages/', include([ path('', VillageListView.as_view(), name='village_list'), path('create/', VillageCreateView.as_view(), name='village_create'), path('<slug:slug>/delete/', VillageDeleteView.as_view(), name='village_delete'), path('<slug:slug>/edit/', VillageUpdateView.as_view(), name='village_update'), # this has to be the last url in the list path('<slug:slug>/',
"phonebook/", CampRedirectView.as_view(), kwargs={"page": "phonebook:list"}, name="phone_book_redirect", ), path("people/", PeopleView.as_view(), name="people"), # camp specific urls below here path( "<slug:camp_slug>/", include( [ path("", CampDetailView.as_view(), name="camp_detail"), path("info/", CampInfoView.as_view(), name="info"), path("program/", include("program.urls", namespace="program")), path("sponsors/", SponsorsView.as_view(), name="sponsors"), path("bar/menu/", MenuView.as_view(), name="menu"), path( "villages/", include( [ path("", VillageListView.as_view(), name="village_list"), path( "create/", VillageCreateView.as_view(), name="village_create", ), path( "<slug:slug>/delete/", VillageDeleteView.as_view(),
EventListView.as_view(), name='event_index'), url(r'^call-for-speakers/$', CallForSpeakersView.as_view(), name='call_for_speakers'), url(r'^calendar/', ICSView.as_view(), name='ics_calendar'), # this has to be the last URL here url(r'^(?P<slug>[-_\w+]+)/$', EventDetailView.as_view(), name='event_detail'), ])), url(r'^sponsors/call/$', CallForSponsorsView.as_view(), name='call-for-sponsors'), url(r'^sponsors/$', SponsorsView.as_view(), name='sponsors'), url(r'^bar/menu$', MenuView.as_view(), name='menu'), url( r'^villages/', include([ url(r'^$', VillageListView.as_view(), name='village_list'), url(r'create/$', VillageCreateView.as_view(), name='village_create'), url(r'(?P<slug>[-_\w+]+)/delete/$', VillageDeleteView.as_view(), name='village_delete'), url(r'(?P<slug>[-_\w+]+)/edit/$', VillageUpdateView.as_view(), name='village_update'), # this has to be the last url in the list url(r'(?P<slug>[-_\w+]+)/$',