12795 fix user model registration

This commit is contained in:
Arthur 2024-02-02 14:28:16 -08:00
parent 3af6dec748
commit edf0dd68dc

View File

@ -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)