整理代码

This commit is contained in:
zemal
2017-08-20 08:35:59 +08:00
parent 0647312124
commit 3b1f02c356
10 changed files with 200 additions and 268 deletions

View File

@@ -13,7 +13,7 @@ class Command(BaseCommand):
"would you like to reset it's password?\n"
"Input yes to confirm: "))
if input() == "yes":
# for dev
# todo remove this in product env
# rand_password = rand_str(length=6)
rand_password = "rootroot"
admin.save()