mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-20 08:24:05 +02:00
fixed formatting and test with terminal prompting
This commit is contained in:
parent
4ff60817da
commit
9ecb9f3556
2 changed files with 52 additions and 36 deletions
|
@ -18,10 +18,10 @@ class Command(BaseCommand):
|
|||
if settings.IS_PRODUCTION:
|
||||
logger.error("clean_tables cannot be run in production")
|
||||
return
|
||||
|
||||
|
||||
TerminalHelper.prompt_for_execution(
|
||||
system_exit_on_terminate=True,
|
||||
info_to_inspect=f"""
|
||||
info_to_inspect="""
|
||||
This script will delete all rows from the following tables:
|
||||
* Contact
|
||||
* Domain
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue