mirror of
https://github.com/jazzband/django-eav2.git
synced 2026-03-17 06:50:24 +00:00
Minor fix to test for mysql
This commit is contained in:
parent
4aa7952485
commit
23da5c11c6
1 changed files with 2 additions and 1 deletions
3
utils.py
3
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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue