aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Bacherikov <slava@bacher09.org>2012-08-28 14:25:58 +0300
committerSlava Bacherikov <slava@bacher09.org>2012-08-28 14:25:58 +0300
commit553233ac4f4168fa2e5b22ef734a9abdaf2c0d12 (patch)
tree7aae8b5164815169390ade63f91a403b69a2b601
parentExecute settings in doc config (diff)
downloadgentoo-packages-553233ac4f4168fa2e5b22ef734a9abdaf2c0d12.tar.gz
gentoo-packages-553233ac4f4168fa2e5b22ef734a9abdaf2c0d12.tar.bz2
gentoo-packages-553233ac4f4168fa2e5b22ef734a9abdaf2c0d12.zip
Change category url conf
-rw-r--r--gpackages/apps/packages/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpackages/apps/packages/urls.py b/gpackages/apps/packages/urls.py
index c0207e9..64b6f45 100644
--- a/gpackages/apps/packages/urls.py
+++ b/gpackages/apps/packages/urls.py
@@ -35,5 +35,5 @@ urlpatterns = patterns('',
url(r'^rss/$', MainPageFeed()),
url(r'^atom/$', MainPageFeedAtom()),
url(r'^(?P<atom>[^/]+/[^/]+)/(?P<table_item>[^/]+)?$', auto_package_or_ebuild, name = 'auto'),
- url(r'^(?P<category>[^/]+)/$', PackagesListsView.as_view(), name = 'packages'),
+ url(r'^(?P<category>[\w-]+)/$', PackagesListsView.as_view(), name = 'packages'),
)