<s> from django import VERSION <EOL> from moderation import moderation <EOL> from example_project . example_app . models import ExampleUserProfile <EOL> from moderation . moderator import GenericModerator <EOL> class UserProfileModerator ( GenericModerator ) : <EOL> notify_user = False <EOL> auto_approve_for_superusers = False <EOL> auto_approve_for_staff = False <EOL> moderation . register ( ExampleUserProfile ) <EOL> if VERSION [ : <NUM_LIT:2> ] >= ( <NUM_LIT:1> , <NUM_LIT:5> ) : <EOL> from example_project . example_app . models import UserProfileWithCustomUser <EOL> moderation . register ( UserProfileWithCustomUser , UserProfileModerator ) </s>
