mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-17 21:18:16 -06:00
12795 fix user model registration
This commit is contained in:
parent
3af6dec748
commit
edf0dd68dc
@ -578,7 +578,6 @@ registry['model_features'].update({
|
||||
|
||||
@receiver(class_prepared)
|
||||
def _register_features(sender, **kwargs):
|
||||
print(sender)
|
||||
# Record each applicable feature for the model in the registry
|
||||
features = {
|
||||
feature for feature, cls in FEATURES_MAP.items() if issubclass(sender, cls)
|
||||
|
Loading…
Reference in New Issue
Block a user