Project

General

Profile

Bug #179

Unable to create multiple Entity subclasses with the same name

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

Status:
Resolved
Priority:
High
Assignee:
Category:
Core
Target version:
-
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

Revision 1fb47744 (diff)
Added by Joseph Spiros over 11 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 11 years ago

  • Description updated (diff)
#2

Updated by Joseph Spiros over 11 years ago

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

Also available in: Atom PDF