diff options
author | Dan McGee <dan@archlinux.org> | 2010-02-07 09:57:26 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-02-08 21:01:15 -0600 |
commit | 8c077a4caa73c7e4a5e148195f1d6d3cdae572cf (patch) | |
tree | c69b42fdf68773894baf45b1f1feefe1f20eb849 /urls.py | |
parent | f445754db57f37dcb1821a9330aa238632457146 (diff) |
Add OpenSearch support to the site
Implements FS#14185. It is a bit more complex than listed there as I wanted
to not hardcode the URLs in the descriptor file; to do this we need to make
it a template and fill some things in. We also need to serve the file using
the correct mime type.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -108,6 +108,7 @@ urlpatterns = patterns('', (r'^irc/$', direct_to_template, {'template': 'public/irc.html'}), (r'^moreforums/$', 'archweb.public.views.moreforums'), (r'^projects/$', 'archweb.public.views.projects'), + (r'^opensearch/packages/$', 'archweb.packages.views.opensearch'), ) if settings.DEBUG == True: |