From 960de87343fada7dd1ee70cb61fd43d32590f861 Mon Sep 17 00:00:00 2001 From: Christopher Neugebauer Date: Fri, 2 Sep 2016 10:10:21 +1000 Subject: [PATCH] oops --- registrasion/staff_views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/registrasion/staff_views.py b/registrasion/staff_views.py index 96ade521..4bedf3d1 100644 --- a/registrasion/staff_views.py +++ b/registrasion/staff_views.py @@ -16,6 +16,7 @@ from functools import wraps from models import commerce from models import inventory +from reporting.reports import get_all_reports from reporting.reports import Report from reporting.reports import report_view @@ -26,7 +27,7 @@ def reports_list(request): reports = [] - for report in _all_report_views: + for report in get_all_reports(): reports.append({ "name" : report.__name__, "url" : reverse(report),