Skip to content
Snippets Groups Projects
Select Git revision
  • 0c93fda139601d616c7cfbfd13ae3701f291ee1c
  • main default protected
2 results

index.html

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    settings_ci.py 735 B
    # noinspection PyUnresolvedReferences
    from AKPlanning.settings import *
    
    DEBUG = False
    SECRET_KEY = '+7#&=$grg7^x62m#3cuv)k$)tqx!xkj_o&y9sm)@@sgj7_7-!+'
    
    SESSION_COOKIE_SECURE = True
    CSRF_COOKIE_SECURE = True
    
    DATABASES = {
        'default': {
            'ENGINE': 'django.db.backends.mysql',
            'HOST': 'mysql',
            'NAME': 'test',
            'USER': 'django',
            'PASSWORD': 'mysql',
            'OPTIONS': {
                'init_command': "SET sql_mode='STRICT_TRANS_TABLES'",
            },
            'TEST': {
                'NAME': 'tests',
                'CHARSET': "utf8mb4",
                'COLLATION': 'utf8mb4_unicode_ci',
            },
        }
    }
    
    TEST_RUNNER = 'xmlrunner.extra.djangotestrunner.XMLTestRunner'
    TEST_OUTPUT_FILE_NAME = 'unit.xml'