def tag_del(request, scanid, tagname): from frontend.scans.views.tags import AjaxTag tag = AjaxTag() rtn = tag.delete(scanid, tagname) return HttpResponse(rtn)
def tag_form(request, scanid): from frontend.scans.views.tags import AjaxTag tag = AjaxTag() taconite = tag.form(scanid) return HttpResponse(taconite, mimetype="application/xml")