diff options
| author | Aurélien Bompard <aurelien@bompard.org> | 2012-11-15 12:21:31 +0100 |
|---|---|---|
| committer | Aurélien Bompard <aurelien@bompard.org> | 2012-11-15 12:22:42 +0100 |
| commit | 5a4e072aaec3d6b096072015b4e9135b07cc0a0f (patch) | |
| tree | 0ca644e93aaedfe5ca78ae4bfad669e2bc675663 /hyperkitty/urls.py | |
| parent | 19a84f55c72e8e357bc974218f367094523f0812 (diff) | |
Use Django's reverse() method for crafting URLs
Diffstat (limited to 'hyperkitty/urls.py')
| -rw-r--r-- | hyperkitty/urls.py | 4 |
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 ### |
