From 12bac87cf3eeb6cc36141131cdce28be091b5960 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Mon, 13 Jan 2020 11:29:45 +0100 Subject: [PATCH] chg: [tags blueprint] clean code --- var/www/blueprints/tags_ui.py | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/var/www/blueprints/tags_ui.py b/var/www/blueprints/tags_ui.py index a1220770..9f5e8e7b 100644 --- a/var/www/blueprints/tags_ui.py +++ b/var/www/blueprints/tags_ui.py @@ -163,29 +163,3 @@ def get_obj_by_tags(): dict_tagged = {"object_type":object_type, "object_name":object_type.title() + "s"} return render_template("tags/search_obj_by_tags.html", bootstrap_label=bootstrap_label, dict_tagged=dict_tagged) - -# # add route : /crawlers/show_domain -# @tags_ui.route('/tags/search/domain') -# @login_required -# @login_analyst -# def showDomain(): -# date_from = request.args.get('date_from') -# date_to = request.args.get('date_to') -# tags = request.args.get('ltags') -# -# print(date_from) -# print(date_to) -# -# dates = Date.sanitise_date_range(date_from, date_to) -# -# if tags is None: -# return 'tags_none' -# #return render_template("Tags.html", date_from=dates['date_from'], date_to=dates['date_to']) -# else: -# tags = Tag.unpack_str_tags_list(tags) -# -# -# -# -# return render_template("showDomain.html", dict_domain=dict_domain, bootstrap_label=bootstrap_label, -# tag_type="domain"))