Closed acatton closed 9 years ago
In Django 1.7 and 1.8 relation.model is the model the relation is pointing from. Therefore issubclass(rel_obj.model, VersionCommit) was always false, since rel_obj.model was either VersionTracker or ReviewedVersionTracker.
issubclass(rel_obj.model, VersionCommit)
rel_obj.model
In Django 1.7 and 1.8 relation.model is the model the relation is pointing from. Therefore
issubclass(rel_obj.model, VersionCommit)
was always false, sincerel_obj.model
was either VersionTracker or ReviewedVersionTracker.