urls.py 227 Bytes
Newer Older
Skia's avatar
Skia committed
1
2
3
4
5
6
7
8
9
10
from django.conf.urls import url, include

from counter.views import *

urlpatterns = [
    url(r'^$', CounterListView.as_view(), name='list'),
    url(r'^(?P<counter_id>[0-9]+)$', CounterDetail.as_view(), name='details'),
]