# -*- coding: utf-8 -*-

from .production import *

from environs import Env

Env.read_env()

# 如果是测试环境，从测试配置中导入，覆盖默认配置
env = Env()

DEBUG = env.bool('MODE_DEBUG', True)

print('MODE_DEBUG', DEBUG)

if DEBUG:
    from .development import *

ca3dd3919a0c3a77eacf35f48b00898a0ea19d9c
<mask token>

<mask token>
Env.read_env()
<mask token>
print('MODE_DEBUG', DEBUG)
if DEBUG:
    from .development import *

<mask token>
Env.read_env()
env = Env()
DEBUG = env.bool('MODE_DEBUG', True)
print('MODE_DEBUG', DEBUG)
if DEBUG:
    from .development import *

from .production import *
from environs import Env
Env.read_env()
env = Env()
DEBUG = env.bool('MODE_DEBUG', True)
print('MODE_DEBUG', DEBUG)
if DEBUG:
    from .development import *

# -*- coding: utf-8 -*-

from .production import *

from environs import Env

Env.read_env()

# 如果是测试环境，从测试配置中导入，覆盖默认配置
env = Env()

DEBUG = env.bool('MODE_DEBUG', True)

print('MODE_DEBUG', DEBUG)

if DEBUG:
    from .development import *
