diff --git a/core/ui/views/drilldown.py b/core/ui/views/drilldown.py index 8a9f9a7..43801ce 100644 --- a/core/ui/views/drilldown.py +++ b/core/ui/views/drilldown.py @@ -17,7 +17,6 @@ class Drilldown(LoginRequiredMixin, View): return render(request, self.template_name) def post(self, request): - print("POST") if not request.user.has_plan(self.plan_name): return render(request, "denied.html") if "query" in request.POST: @@ -25,13 +24,9 @@ class Drilldown(LoginRequiredMixin, View): results = run_main_query(client, query) results_parsed = [] if "hits" in results.keys(): - print("hits in results") if "hits" in results["hits"]: - print("hits in hits") for item in results["hits"]["hits"]: - print("ITER", item) results_parsed.append(item["_source"]) context = {"query": query, "results": results_parsed} - print("CONTEXT", context) return render(request, self.template_name, context) return render(request, self.template_name)