1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Drop add_prefetch from BaseTable; improve dynamic prefetching for table querysets

This commit is contained in:
Jeremy Stretch
2020-10-30 16:15:16 -04:00
parent 8d02303515
commit 97c8306eeb
3 changed files with 19 additions and 22 deletions

View File

@ -280,8 +280,6 @@ class PrefixTable(BaseTable):
verbose_name='Pool'
)
add_prefetch = False
class Meta(BaseTable.Meta):
model = Prefix
fields = (