mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
update problem migration
This commit is contained in:
parent
9bdf4f357c
commit
b36be2a71d
@ -10,7 +10,6 @@ import hashlib
|
|||||||
|
|
||||||
|
|
||||||
def update_all_stripped_md5(apps, schema_editor):
|
def update_all_stripped_md5(apps, schema_editor):
|
||||||
os.system("whoami")
|
|
||||||
Problem = apps.get_model("problem", "Problem")
|
Problem = apps.get_model("problem", "Problem")
|
||||||
problems = Problem.objects.all()
|
problems = Problem.objects.all()
|
||||||
for problem in problems:
|
for problem in problems:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user