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

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

    #### Available filters
6 7 8
    url(r'^section/(?P<section>\w+)$', 'index'),
    url(r'^date$', 'index', {'sort': 'date'}),
    url(r'^comments$', 'index', {'sort': 'comments'}),
9 10

)