summaryrefslogtreecommitdiffstats
path: root/hyperkitty/urls.py
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-11-15 12:22:42 +0100
committerAurélien Bompard <aurelien@bompard.org>2012-11-15 12:22:42 +0100
commit44d800673637b43c075c05d7c0a9d229fdb47b9c (patch)
tree0ca644e93aaedfe5ca78ae4bfad669e2bc675663 /hyperkitty/urls.py
parentda573d9e2ff66d30d3a06c2641a828ae8b272e7d (diff)
downloadhyperkitty-44d800673637b43c075c05d7c0a9d229fdb47b9c.tar.gz
hyperkitty-44d800673637b43c075c05d7c0a9d229fdb47b9c.tar.xz
hyperkitty-44d800673637b43c075c05d7c0a9d229fdb47b9c.zip
Use Django's reverse() method for crafting URLs
Diffstat (limited to 'hyperkitty/urls.py')
-rw-r--r--hyperkitty/urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/hyperkitty/urls.py b/hyperkitty/urls.py
index ab2719e..3340971 100644
--- a/hyperkitty/urls.py
+++ b/hyperkitty/urls.py
@@ -51,9 +51,9 @@ urlpatterns = patterns('hyperkitty.views',
'list.search_keyword'),
# Show the first page as default when no page number is present in URL
url(r'^search/(?P<mlist_fqdn>.*@.*)\/(?P<target>.*)\/(?P<keyword>.*)/$',
- 'list.search_keyword'),
+ 'list.search_keyword', name="search_keyword"),
url(r'^search/(?P<mlist_fqdn>.*@.*)/$',
- 'list.search'),
+ 'list.search', name="search_list"),
### MESSAGE LEVEL VIEWS ###