From 8c077a4caa73c7e4a5e148195f1d6d3cdae572cf Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 7 Feb 2010 09:57:26 -0600 Subject: 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 --- urls.py | 1 + 1 file changed, 1 insertion(+) (limited to 'urls.py') diff --git a/urls.py b/urls.py index 4a52998c..e0df2da2 100644 --- a/urls.py +++ b/urls.py @@ -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: -- cgit v1.2.3-55-g3dc8