<s> from django . conf import settings <EOL> from sellmo . conf import get_setting <EOL> enabled = get_setting ( '<STR_LIT>' , default = False ) <EOL> app = None <EOL> def setup ( ) : <EOL> global app <EOL> from celery import Celery <EOL> app = Celery ( ) <EOL> app . config_from_object ( '<STR_LIT>' ) <EOL> app . autodiscover_tasks ( lambda : settings . INSTALLED_APPS ) </s>
