From 67a272b09bce97ffa3bf69f1d98230c7cd00c3e3 Mon Sep 17 00:00:00 2001 From: Corey Oordt Date: Fri, 28 May 2010 09:32:40 -0400 Subject: [PATCH] Require a trailing slash at the end of urls --- categories/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/categories/urls.py b/categories/urls.py index 651c632..6e47eb0 100644 --- a/categories/urls.py +++ b/categories/urls.py @@ -12,5 +12,5 @@ urlpatterns = patterns('django.views.generic.list_detail', ) urlpatterns += patterns('categories.views', - url(r'^(?P.+)$', 'category_detail', {'with_stories': True}, name='categories_category'), + url(r'^(?P.+)/$', 'category_detail', {'with_stories': True}, name='categories_category'), ) \ No newline at end of file