Bug #179

Unable to create multiple Entity subclasses with the same name

Added by Joseph Spiros over 5 years ago. Updated over 5 years ago.

Status:Resolved Start date:10/17/2012
Priority:High Due date:
Assignee:Joseph Spiros % Done:

100%

Category:Core
Target version:-

Description

An error occurs with the attribute_set GenericRelation on Entity when two subclasses of Entity are created (in different apps) with the same class name. That is to say, if I have class A(Entity) in one app, and class A(Entity) in another, the second one will not make it through Django model validation.

Associated revisions

Revision 1fb47744
Added by Joseph Spiros over 5 years ago

Added a proper related_name argument to the GenericRelation from Entity to Attribute. This fixes #179.

History

#1 Updated by Joseph Spiros over 5 years ago

  • Description updated (diff)

#2 Updated by Joseph Spiros over 5 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF