diff --git a/netbox/utilities/tables.py b/netbox/utilities/tables.py
index a53227937..9111bd976 100644
--- a/netbox/utilities/tables.py
+++ b/netbox/utilities/tables.py
@@ -17,6 +17,10 @@ class BaseTable(tables.Table):
'class': 'table table-hover',
}
+ @property
+ def model(self):
+ return self._meta.model
+
class ToggleColumn(tables.CheckBoxColumn):
diff --git a/netbox/utilities/views.py b/netbox/utilities/views.py
index ee625076d..bca4c1771 100644
--- a/netbox/utilities/views.py
+++ b/netbox/utilities/views.py
@@ -92,7 +92,6 @@ class ObjectListView(View):
# Construct the table based on the user's permissions
table = self.table(self.queryset)
- table.model = model
if 'pk' in table.base_columns and any([request.user.has_perm(perm) for perm in self.edit_permissions]):
table.base_columns['pk'].visible = True
RequestConfig(request, paginate={'klass': EnhancedPaginator}).configure(table)