from django.conf.urls import url from . import views app_name = "figments" urlpatterns = [ url( r'^feed.xml', views.FigRSSFeedView(), name="feed" ), url( r'series/$', views.SeriesListView.as_view(), name='list_series' ), url( r'(?P[-\w]+).txt$', views.FigmentDetailViewTXT.as_view(), name="detail-txt" ), url( r'(?P[-\w]+)$', views.FigmentDetailView.as_view(), name='detail' ), url( r'^$', views.FigmentListView.as_view(), name='list' ), ]