bgneal@540: """ bgneal@540: Url patterns for the contests application. bgneal@540: bgneal@540: """ bgneal@1028: from django.conf.urls import url bgneal@540: bgneal@1028: import contests.views bgneal@540: bgneal@540: bgneal@1028: urlpatterns = [ bgneal@540: url(r'^$', bgneal@1085: contests.views.ContestListView.as_view(), bgneal@540: name='contests-index'), bgneal@540: bgneal@540: url(r'^enter/$', bgneal@1028: contests.views.enter, bgneal@540: name='contests-enter'), bgneal@540: bgneal@540: url(r'^c/(?P[\w-]+)/$', bgneal@1085: contests.views.ContestDetailView.as_view(), bgneal@540: name='contests-contest'), bgneal@1028: ]