dominno / django-moderation

django-moderation is reusable application for Django framework, that allows to moderate any model objects.
BSD 3-Clause "New" or "Revised" License
269 stars 90 forks source link

ModeratedModel support / automatic model registration #128

Closed ryuusenshi closed 9 years ago

ryuusenshi commented 9 years ago

It is possible to extend the Model class in such a way that Model classes register themselves (i.e. writing moderator.py becomes unnecessary).

So, what I'm suggesting is that instead one could do something like:

from moderation.models import ModeratedModel

class MyModel(ModeratedModel):
    pass

This would make MyModel moderated.

I have already pretty much written this.