1👍
✅
Perhaps it’s an import order thing? Try using get_queryset
instead.
class AllPluginsView(ListView):
template_name="console/plugins/plugins.html"
context_object_name = "objects"
def get_queryset(self):
return get_models(get_app('plugins'))
Source:stackexchange.com