mirror of
https://github.com/jazzband/django-eav2.git
synced 2026-03-16 22:40:26 +00:00
bugfix #26 - support for new ContentType-s field related_query_name
This commit is contained in:
parent
7aae3e0bfb
commit
55afd2aab9
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ class Registry(object):
|
|||
generic.GenericRelation(Value,
|
||||
object_id_field='entity_id',
|
||||
content_type_field='entity_ct',
|
||||
related_name=rel_name)
|
||||
related_query_name=rel_name)
|
||||
generic_relation.contribute_to_class(self.model_cls, gr_name)
|
||||
|
||||
def _detach_generic_relation(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue