Update settings.py

This commit is contained in:
undefined 2020-08-30 08:17:52 +08:00 committed by GitHub
parent 501e396fee
commit 35d108f238
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,8 +10,6 @@ For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.8/ref/settings/ https://docs.djangoproject.com/en/1.8/ref/settings/
""" """
import os import os
import raven
from copy import deepcopy
from utils.shortcuts import get_env from utils.shortcuts import get_env
production_env = get_env("OJ_ENV", "dev") == "production" production_env = get_env("OJ_ENV", "dev") == "production"