fix opensearch template
This commit is contained in:
parent
d1ed12895a
commit
141683d309
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ def opensearch_xml(request):
|
||||||
e = ET.SubElement(osd, 'Url')
|
e = ET.SubElement(osd, 'Url')
|
||||||
e.attrib['type'] = 'text/html'
|
e.attrib['type'] = 'text/html'
|
||||||
e.attrib['method'] = 'GET'
|
e.attrib['method'] = 'GET'
|
||||||
e.attrib['template'] = "%s={searchTerms}" % request.build_absolute_uri('/')
|
e.attrib['template'] = "%s*={searchTerms}" % request.build_absolute_uri('/')
|
||||||
'''
|
'''
|
||||||
e = ET.SubElement(osd, 'Url')
|
e = ET.SubElement(osd, 'Url')
|
||||||
e.attrib['type'] = 'application/x-suggestions+json'
|
e.attrib['type'] = 'application/x-suggestions+json'
|
||||||
|
|
Loading…
Reference in a new issue