15 lines
586 B
Diff
15 lines
586 B
Diff
diff --git a/django_extensions/management/commands/reset_db.py b/django_extensions/management/commands/reset_db.py
|
|
index 85b61c8..cb93da6 100644
|
|
--- a/django_extensions/management/commands/reset_db.py
|
|
+++ b/django_extensions/management/commands/reset_db.py
|
|
@@ -81,7 +81,8 @@ class Command(BaseCommand):
|
|
|
|
verbosity = int(options.get('verbosity', 1))
|
|
if options.get('interactive'):
|
|
- confirm = input("""
|
|
+ confirm = 'yes'
|
|
+ print("""
|
|
You have requested a database reset.
|
|
This will IRREVERSIBLY DESTROY
|
|
ALL data in the database "%s".
|