2017-10-08 20:21:51 +00:00
|
|
|
from moderation import moderation
|
2017-10-31 14:57:26 +00:00
|
|
|
from moderation.moderator import GenericModerator
|
2017-10-08 20:21:51 +00:00
|
|
|
from apps.map.models import CaseStudy
|
|
|
|
|
2017-10-31 14:57:26 +00:00
|
|
|
|
|
|
|
class CaseStudyModerator(GenericModerator):
|
|
|
|
notify_user = True
|
|
|
|
auto_approve_for_superusers = True
|
|
|
|
|
|
|
|
moderation.register(CaseStudy, CaseStudyModerator)
|