Commit 953a35e9 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Pass kwargs from filter url to index view.

parent fec715e8
from django.conf.urls import patterns, include, url from django.conf.urls import patterns, include, url
urlpatterns = patterns('website.filters.views', urlpatterns = patterns('website.views',
#### Available filters #### Available filters
url(r'^section/(?P<section>\w+)$', 'filter_section', name='filter_section'), url(r'^section/(?P<section>\w+)$', 'index'),
url(r'^date$', 'filter_date', name='filter_date'), url(r'^date$', 'index', {'sort': 'date'}),
url(r'^comments$', 'filter_comments', name='filter_comments'), url(r'^comments$', 'index', {'sort': 'comments'}),
#### Invalid requests to redirect #### Invalid requests to redirect
# url(r'^$', 'base_redirect'), # url(r'^$', 'base_redirect'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment