German-BioImaging / webtagging

Extensions to OMERO.web to enhance tagging and searching
http://help.openmicroscopy.org/web-tagging.html
GNU Affero General Public License v3.0
4 stars 6 forks source link

HttpResponseRedirect not imported in tagsearch/views.py #55

Closed will-moore closed 7 years ago

will-moore commented 8 years ago

We recently saw this error (30th September):

Seems import of HttpResponseRedirect is missing.

 File "/opt/omero/omero/web-extensions/tagsearch/views.py", line 62, in index
   return HttpResponseRedirect(reverse(viewname="load_template", args=['usertags']) + "?show=" + init['initially_select'][0])

NameError: global name 'HttpResponseRedirect' is not defined