10 lines
281 B
Python
10 lines
281 B
Python
from moderation import moderation
|
|
from moderation.moderator import GenericModerator
|
|
from apps.map.models import CaseStudy
|
|
|
|
|
|
class CaseStudyModerator(GenericModerator):
|
|
notify_user = True
|
|
auto_approve_for_superusers = True
|
|
|
|
moderation.register(CaseStudy, CaseStudyModerator) |