django-opensearch is a django reusable application to handle opensearch.xml
Add "opensearch" to settings.INSTALLED_APPS.
INSTALLED_APPS += ( "opensearch", )
Add "opensearch" to your urls definitions.
urlpatterns += [ url(r"^opensearch/", include("opensearch.urls")), )
Load "opensearch_tags" to your base template and place opensearch rel meta tag to <head> html tag by calling {% opensearch_meta %}.
For example:
{% load opensearch %} <head> {% opensearch_meta %} </head>
django-opensearch is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For complete license text see COPYING file.
Project Website: https://github.com/vint21h/django-opensearch/
Author: Alexei Andrushievich <vint21h@vint21h.pp.ua>
For other authors list see AUTHORS file.