urls.py 312 Bytes
Newer Older
luxcem's avatar
luxcem committed
1
2
3
4
from django.conf.urls import patterns, include, url

from memopol_representatives import views

5
6
7
urlpatterns = patterns(
    '',
    url(r'^$', views.index, name='index'),
8
    url(r'^committee/(?P<committee>\w{4})$', views.committee, name='committee'),
9
    url(r'^view/(?P<num>\d+)$', views.view, name='view'),
luxcem's avatar
luxcem committed
10
)