fix the get_objects function

This commit is contained in:
Andreas Zweili 2020-02-29 19:26:17 +01:00
parent 25b2c3c02d
commit 2646b964ca
1 changed files with 1 additions and 1 deletions

View File

@ -64,4 +64,4 @@ def get_objects(model_name, user):
if model_name in app.models:
model = app.models[model_name]
return model.objects.filter(customer__in=customers)
raise Http404("Model ", model_name, " not found.")
raise Http404("Model ", model_name, " not found.")