fix the get_objects function
This commit is contained in:
parent
25b2c3c02d
commit
2646b964ca
|
@ -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.")
|
||||
|
|
Loading…
Reference in New Issue