MnogoByte / django-permanent

Yet another approach to creation of non-deletable and non-removable from db restorable django models.
71 stars 20 forks source link

django >= 1.6 ? #5

Closed bashu closed 10 years ago

bashu commented 10 years ago

Hey,

Is there reason why django-permanent depends on django >= 1.6 ? Is there something non back-compatible?

meteozond commented 10 years ago

Yes, there were some significant changes of QuerySet.delete method. You can use 0.1.4 branch or package for earlier Django versions.

bashu commented 10 years ago

Thanks! =)

bashu commented 10 years ago

BTW, 0.1.4 will not work with django==1.4.x, django.db.models.deletion.Collector doesn't have 'fast_deletes' attribute

meteozond commented 10 years ago

Yep. You are right. Honestly, It's possible to group all tricks together to mimic Collector of several Django versions. But I'm thinking of starting with the 1.6. Sorry.