整理代码
This commit is contained in:
1 parent
0647312124
commit
3b1f02c356
10 files changed
+200
-268
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user