Bug #179
Unable to create multiple Entity subclasses with the same name
Start date:
10/17/2012
Due date:
% Done:
100%
Estimated time:
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
History
Updated by Joseph Spiros over 9 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset 1fb4774474207933a6cce19e65a2fa011593b3eb.
Added a proper related_name argument to the GenericRelation from Entity to Attribute. This fixes #179.