mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-17 04:32:51 -06:00
#9231 call class method
This commit is contained in:
parent
536bd37d05
commit
2fe620df70
@ -81,7 +81,7 @@ class BaseFilterSet(django_filters.FilterSet):
|
|||||||
})
|
})
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
self.base_filters = self.get_filters()
|
self.base_filters = self.__class__.get_filters()
|
||||||
super().__init__(*args, **kwargs)
|
super().__init__(*args, **kwargs)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user