urls.py 293 Bytes
Newer Older
1 2
from django.conf.urls import patterns, include, url

3
urlpatterns = patterns('website.views',
4 5

    #### Available filters
6
    url(r'^section/(?P<section>[a-zA-Z]+ {0,1}[0-9]*)$', 'index'),
7 8
    url(r'^date$', 'index', {'sort': 'date'}),
    url(r'^comments$', 'index', {'sort': 'comments'}),
9 10

)