Example #1
0
def tag_del(request, scanid, tagname):
    from frontend.scans.views.tags import AjaxTag

    tag = AjaxTag()
    rtn = tag.delete(scanid, tagname)
    return HttpResponse(rtn)
Example #2
0
def tag_form(request, scanid):
    from frontend.scans.views.tags import AjaxTag

    tag = AjaxTag()
    taconite = tag.form(scanid)
    return HttpResponse(taconite, mimetype="application/xml")