Skip to content
Snippets Groups Projects
Commit 3cd51c86 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

auto reload dashboard

parent 03c0d600
No related branches found
No related tags found
4 merge requests!90Master,!86Master,!85Master,!84Dev nico
......@@ -121,8 +121,6 @@ class QueryView(SingleTableMixin, FilterView):
LIMIT = settings.QUERY_LIMIT_MULTI_CHANGE
query_list_of_ids = list(self.object_list.values_list('id'))[:LIMIT]
print(query_list_of_ids)
# store on the session
self.request.session['query_list_of_ids'] = query_list_of_ids
return self.object_list
......@@ -489,7 +487,6 @@ def TaskSetStatusMultiTables2(request,new_status):
# get the list of id's from the session
query_list_of_ids = request.session['query_list_of_ids']
print(query_list_of_ids)
for id in query_list_of_ids:
task = Task.objects.get(id=id[0])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment