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

rename FeatureQuery class

This commit is contained in:
John Anderson
2020-03-16 11:58:35 -04:00
parent 62ad7734b2
commit 9a38586e13
7 changed files with 24 additions and 24 deletions

View File

@@ -42,7 +42,7 @@ registry = Registry()
@deconstructible
class FeatureQuerySet:
class FeatureQuery:
"""
Helper class that delays evaluation of the registry contents for the functionaility store
until it has been populated.
@@ -52,9 +52,9 @@ class FeatureQuerySet:
self.feature = feature
def __call__(self):
return self.get_queryset()
return self.get_query()
def get_queryset(self):
def get_query(self):
"""
Given an extras feature, return a Q object for content type lookup
"""