fusionbox / django-widgy

A CMS framework for Django built on a heterogenous tree editor.
http://wid.gy
Other
332 stars 52 forks source link

VersionTracker with commits were filtered out from orphan() #341

Closed acatton closed 9 years ago

acatton commented 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.