Just for David to fix this bug

This commit is contained in:
ksamuel 2010-09-08 19:16:46 +00:00
parent 5a5bf84f3d
commit edb58a347b

View file

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