forked from eee555/saolei_website
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request eee555#172 from eee555/dev
Dev
- Loading branch information
Showing
19 changed files
with
114 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
from django.db.models import TextChoices | ||
|
||
class MS_TextChoices: | ||
class Mode(TextChoices): | ||
STD = '00', ('标准') | ||
UPK = '01', ('upk') | ||
WQ = '04', ('win7') | ||
JSW = '05', ('竞速无猜') | ||
QWC = '06', ('强无猜') | ||
RWC = '07', ('弱无猜') | ||
ZWC = '08', ('准无猜') | ||
QKC = '09', ('强可猜') | ||
RKC = '10', ('弱可猜') | ||
BZD = '11', ('标准递归') | ||
NF = '12', ('标准盲扫') | ||
|
||
class Level(TextChoices): | ||
BEGINNER = "b", ('初级') | ||
INTERMEDIATE = "i", ('中级') | ||
EXPERT = "e", ('高级') | ||
CUSTOM = "c", ('自定义') | ||
|
||
class State(TextChoices): | ||
PLAIN = "a", ('已上传但未审核') | ||
FROZEN = "b", ('审核未通过,被冻结') | ||
OFFICIAL = "c", ('已通过审核') | ||
IDENTIFIER = "d", ('标识不匹配') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Django>=4.0.0 | ||
Django>=5.0.0 | ||
django-simple-captcha>=0.5.18 | ||
pymysql>=1.1.0 | ||
django-cors-headers>=4.0.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.