|
|
@@ -645,7 +645,7 @@ def add_model(cls,**kwargs):
|
|
|
|
|
|
now = datetime.datetime.now()
|
|
|
if not cm.Player.objects.filter(user_id=user_id,match_id=match_id).exists():
|
|
|
- raise ce.TipException(u"28号(周三)开始提交作业)")
|
|
|
+ raise ce.TipException(u"比赛未开赛/未报名")
|
|
|
|
|
|
if now.weekday() in [5,6] or not now.strftime("%Y-%m-%d") in get_match_validdates(match_id):
|
|
|
raise ce.TipException(u"今日不能提交数据!")
|