"""
Specific CMS settings for developpement environement
"""

from .common import *
from ..dev import *

SITE_NAME = CMS_BASE

SERVER_EMAIL = '%s-%s@france-universite-numerique-mooc.fr' % (ENVIRONMENT, SITE_VARIANT)

FEATURES['PREVIEW_LMS_BASE'] = LMS_BASE

PIPELINE_SASS_ARGUMENTS = PIPELINE_SASS_ARGUMENTS.format(proj_dir=PROJECT_ROOT)

################################ DEBUG TOOLBAR ################################

INSTALLED_APPS += DEBUG_TOOLBAR_INSTALLED_APPS
MIDDLEWARE_CLASSES += DEBUG_TOOLBAR_MIDDLEWARE_CLASSES

########################### VERIFIED CERTIFICATES #################################

FEATURES['AUTOMATIC_VERIFY_STUDENT_IDENTITY_FOR_TESTING'] = True
FEATURES['ENABLE_PAYMENT_FAKE'] = True
FEATURES['AUTOMATIC_AUTH_FOR_TESTING'] = True
