Commit 0e8d76fe authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Redirect invalid filter urls to base_redirect

parent 2311f84f
......@@ -3,7 +3,9 @@ from django.conf.urls import patterns, include, url
urlpatterns = patterns('website.filters.views',
#### Available filters
url(r'^class/(?P<class>\w+)$', 'filter_class', name='filter_class'),
url(r'^$', 'base_redirect'),
url(r'^section/(?P<section>\w+)$', 'filter_section', name='filter_section'),
url(r'^section/?$', 'base_redirect'),
url(r'^date$', 'filter_date', name='filter_date'),
url(r'^comments$', 'filter_comments', name='filter_comments'),
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