mirror of
https://github.com/jazzband/django-eav2.git
synced 2026-04-08 01:10:59 +00:00
Just for David to fix this bug
This commit is contained in:
parent
5a5bf84f3d
commit
edb58a347b
1 changed files with 1 additions and 1 deletions
2
utils.py
2
utils.py
|
|
@ -111,7 +111,7 @@ class EavRegistry(object):
|
|||
generic_relation = generic.GenericRelation(EavValue,
|
||||
object_id_field='entity_id',
|
||||
content_type_field='entity_ct',
|
||||
related_name=model_cls._meta.verbose_name_plural)
|
||||
related_name=model_cls.__name__)
|
||||
generic_relation.contribute_to_class(model_cls, gr_name)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue