mirror of
https://github.com/capricornxl/ad-password-self-service.git
synced 2025-08-11 16:32:54 +08:00
默认的
django=2.2 version
This commit is contained in:
@@ -13,8 +13,16 @@ from .form import CheckForm
|
||||
msg_template = 'messages.html'
|
||||
logger = logging.getLogger('django')
|
||||
|
||||
ad_ops = AdOps()
|
||||
ding_ops = DingDingOps()
|
||||
try:
|
||||
ad_ops = AdOps()
|
||||
except Exception as e:
|
||||
print(e)
|
||||
pass
|
||||
try:
|
||||
ding_ops = DingDingOps()
|
||||
except Exception as e:
|
||||
print(e)
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def index(request):
|
||||
|
Reference in New Issue
Block a user