fix glitch in stats

This commit is contained in:
bkfox 2020-05-30 14:58:48 +02:00
parent dfdcf78344
commit e136218532

View File

@ -28,11 +28,11 @@ class BaseAdminView(LoginRequiredMixin, UserPassesTestMixin):
class StatisticsView(BaseAdminView, LogListView, ListView):
template_name = 'admin/aircox/statistics.html'
redirect_date_url = 'tools-stats'
redirect_date_url = 'admin:tools-stats'
title = _('Statistics')
date = None
def get_object_list(self, logs, *_):
super().get_object_list(logs, True)
return super().get_object_list(logs, True)