diff --git a/utils.py b/utils.py index 512578c..63c48b7 100644 --- a/utils.py +++ b/utils.py @@ -110,7 +110,8 @@ class EavRegistry(object): gr_name = config_cls.generic_relation_field_name generic_relation = generic.GenericRelation(EavValue, object_id_field='entity_id', - content_type_field='entity_ct') + content_type_field='entity_ct', + related_name=model_cls._meta.verbose_name_plural) generic_relation.contribute_to_class(model_cls, gr_name)