Remove debug statements
This commit is contained in:
parent
d581d787de
commit
1ab7a95ebd
|
@ -113,7 +113,6 @@ class DrilldownTableView(SingleTableView):
|
||||||
sizes = settings.MAIN_SIZES
|
sizes = settings.MAIN_SIZES
|
||||||
|
|
||||||
if request.GET:
|
if request.GET:
|
||||||
print("GET")
|
|
||||||
self.template_name = "index.html"
|
self.template_name = "index.html"
|
||||||
# GET arguments in URL like ?query=xyz
|
# GET arguments in URL like ?query=xyz
|
||||||
query_params = request.GET.dict()
|
query_params = request.GET.dict()
|
||||||
|
@ -121,7 +120,6 @@ class DrilldownTableView(SingleTableView):
|
||||||
if request.resolver_match.url_name == "search_partial":
|
if request.resolver_match.url_name == "search_partial":
|
||||||
self.template_name = "partials/results_table.html"
|
self.template_name = "partials/results_table.html"
|
||||||
elif request.POST:
|
elif request.POST:
|
||||||
print("POST")
|
|
||||||
query_params = request.POST.dict()
|
query_params = request.POST.dict()
|
||||||
else:
|
else:
|
||||||
self.template_name = "index.html"
|
self.template_name = "index.html"
|
||||||
|
@ -129,7 +127,6 @@ class DrilldownTableView(SingleTableView):
|
||||||
# Don't try to search, since there's clearly nothing to do
|
# Don't try to search, since there's clearly nothing to do
|
||||||
params_with_defaults = {}
|
params_with_defaults = {}
|
||||||
add_defaults(params_with_defaults)
|
add_defaults(params_with_defaults)
|
||||||
print("GOT TO CONTEXT")
|
|
||||||
context = {
|
context = {
|
||||||
"sizes": sizes,
|
"sizes": sizes,
|
||||||
"params": params_with_defaults,
|
"params": params_with_defaults,
|
||||||
|
|
Loading…
Reference in New Issue