prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Demo template management command unexpected args.
  ## Description
  <!-- A clear and concise description of what the bug is. -->
  
  After starting dev environment, the management command to setup the demo DB is broken. Trying to run:
  ```sh
  # docker exec -it mathesar_service_dev python manage.py setup_demo_template_db
  ```
  results in:
  ```
  Traceback (most recent call last):
    File "/code/manage.py", line 22, in <module>
      main()
    File "/code/manage.py", line 18, in main
      execute_from_command_line(sys.argv)
    File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
      utility.execute()
    File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 395, in execute
      self.fetch_command(subcommand).run_from_argv(self.argv)
    File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 330, in run_from_argv
      self.execute(*args, **cmd_options)
    File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 371, in execute
      output = self.handle(*args, **options)
    File "/code/demo/management/commands/setup_demo_template_db.py", line 15, in handle
      _setup_demo_template_db(*args, **options)
  TypeError: _setup_demo_template_db() got an unexpected keyword argument 'verbosity'
  ```
  
  ## Expected behavior
  <!-- A clear and concise description of what you expected to happen. -->
  
  You should be able to run the command listed above successfully in the `dev` environment.
  
  ## To Reproduce
  <!-- How can we recreate this bug? Please try to provide a Minimal, Complete, and Verifiable (http://stackoverflow.com/help/mcve) example if code-related. -->
  
  Start the dev environment with a fresh docker state. Run the above command.
  
  ## Additional context
  <!-- Add any other context about the problem or screenshots here. -->
  
  The problem is in line 15 of `demo/management/commands/setup_demo_template.py`.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `demo/management/commands/setup_demo_template_db.py`
  Content:
  ```
  1 from sqlalchemy import text
  2 
  3 from django.conf import settings
  4 from django.core.management import BaseCommand
  5 
  6 from db.install import install_mathesar
  7 from demo.install.datasets import load_datasets
  8 from mathesar.database.base import create_mathesar_engine
  9 
  10 
  11 class Command(BaseCommand):
  12     help = 'Initialize the demo template database.'
  13 
  14     def handle(self, *args, **options):
  15         _setup_demo_template_db(*args, **options)
  16 
  17 
  18 def _setup_demo_template_db():
  19     print("Initializing demo template database...")
  20 
  21     template_db_name = settings.MATHESAR_DEMO_TEMPLATE
  22     root_engine = create_mathesar_engine(settings.DATABASES["default"]["NAME"])
  23     with root_engine.connect() as conn:
  24         conn.execution_options(isolation_level="AUTOCOMMIT")
  25         conn.execute(text(f"DROP DATABASE IF EXISTS {template_db_name} WITH (FORCE)"))
  26     root_engine.dispose()
  27     install_mathesar(
  28         database_name=template_db_name,
  29         username=settings.DATABASES["default"]["USER"],
  30         password=settings.DATABASES["default"]["PASSWORD"],
  31         hostname=settings.DATABASES["default"]["HOST"],
  32         port=settings.DATABASES["default"]["PORT"],
  33         skip_confirm=True
  34     )
  35     user_engine = create_mathesar_engine(template_db_name)
  36     load_datasets(user_engine)
  37     user_engine.dispose()
  38
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/demo/management/commands/setup_demo_template_db.py b/demo/management/commands/setup_demo_template_db.py
  --- a/demo/management/commands/setup_demo_template_db.py
  +++ b/demo/management/commands/setup_demo_template_db.py
  @@ -12,7 +12,7 @@
       help = 'Initialize the demo template database.'
   
       def handle(self, *args, **options):
  -        _setup_demo_template_db(*args, **options)
  +        _setup_demo_template_db()
   
   
   def _setup_demo_template_db():
  
verification_info: {"golden_diff": "diff --git a/demo/management/commands/setup_demo_template_db.py b/demo/management/commands/setup_demo_template_db.py\n--- a/demo/management/commands/setup_demo_template_db.py\n+++ b/demo/management/commands/setup_demo_template_db.py\n@@ -12,7 +12,7 @@\n     help = 'Initialize the demo template database.'\n \n     def handle(self, *args, **options):\n-        _setup_demo_template_db(*args, **options)\n+        _setup_demo_template_db()\n \n \n def _setup_demo_template_db():\n", "issue": "Demo template management command unexpected args.\n## Description\r\n<!-- A clear and concise description of what the bug is. -->\r\n\r\nAfter starting dev environment, the management command to setup the demo DB is broken. Trying to run:\r\n```sh\r\n# docker exec -it mathesar_service_dev python manage.py setup_demo_template_db\r\n```\r\nresults in:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/code/manage.py\", line 22, in <module>\r\n    main()\r\n  File \"/code/manage.py\", line 18, in main\r\n    execute_from_command_line(sys.argv)\r\n  File \"/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py\", line 401, in execute_from_command_line\r\n    utility.execute()\r\n  File \"/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py\", line 395, in execute\r\n    self.fetch_command(subcommand).run_from_argv(self.argv)\r\n  File \"/usr/local/lib/python3.9/site-packages/django/core/management/base.py\", line 330, in run_from_argv\r\n    self.execute(*args, **cmd_options)\r\n  File \"/usr/local/lib/python3.9/site-packages/django/core/management/base.py\", line 371, in execute\r\n    output = self.handle(*args, **options)\r\n  File \"/code/demo/management/commands/setup_demo_template_db.py\", line 15, in handle\r\n    _setup_demo_template_db(*args, **options)\r\nTypeError: _setup_demo_template_db() got an unexpected keyword argument 'verbosity'\r\n```\r\n\r\n## Expected behavior\r\n<!-- A clear and concise description of what you expected to happen. -->\r\n\r\nYou should be able to run the command listed above successfully in the `dev` environment.\r\n\r\n## To Reproduce\r\n<!-- How can we recreate this bug? Please try to provide a Minimal, Complete, and Verifiable (http://stackoverflow.com/help/mcve) example if code-related. -->\r\n\r\nStart the dev environment with a fresh docker state. Run the above command.\r\n\r\n## Additional context\r\n<!-- Add any other context about the problem or screenshots here. -->\r\n\r\nThe problem is in line 15 of `demo/management/commands/setup_demo_template.py`.\n", "before_files": [{"content": "from sqlalchemy import text\n\nfrom django.conf import settings\nfrom django.core.management import BaseCommand\n\nfrom db.install import install_mathesar\nfrom demo.install.datasets import load_datasets\nfrom mathesar.database.base import create_mathesar_engine\n\n\nclass Command(BaseCommand):\n    help = 'Initialize the demo template database.'\n\n    def handle(self, *args, **options):\n        _setup_demo_template_db(*args, **options)\n\n\ndef _setup_demo_template_db():\n    print(\"Initializing demo template database...\")\n\n    template_db_name = settings.MATHESAR_DEMO_TEMPLATE\n    root_engine = create_mathesar_engine(settings.DATABASES[\"default\"][\"NAME\"])\n    with root_engine.connect() as conn:\n        conn.execution_options(isolation_level=\"AUTOCOMMIT\")\n        conn.execute(text(f\"DROP DATABASE IF EXISTS {template_db_name} WITH (FORCE)\"))\n    root_engine.dispose()\n    install_mathesar(\n        database_name=template_db_name,\n        username=settings.DATABASES[\"default\"][\"USER\"],\n        password=settings.DATABASES[\"default\"][\"PASSWORD\"],\n        hostname=settings.DATABASES[\"default\"][\"HOST\"],\n        port=settings.DATABASES[\"default\"][\"PORT\"],\n        skip_confirm=True\n    )\n    user_engine = create_mathesar_engine(template_db_name)\n    load_datasets(user_engine)\n    user_engine.dispose()\n", "path": "demo/management/commands/setup_demo_template_db.py"}], "after_files": [{"content": "from sqlalchemy import text\n\nfrom django.conf import settings\nfrom django.core.management import BaseCommand\n\nfrom db.install import install_mathesar\nfrom demo.install.datasets import load_datasets\nfrom mathesar.database.base import create_mathesar_engine\n\n\nclass Command(BaseCommand):\n    help = 'Initialize the demo template database.'\n\n    def handle(self, *args, **options):\n        _setup_demo_template_db()\n\n\ndef _setup_demo_template_db():\n    print(\"Initializing demo template database...\")\n\n    template_db_name = settings.MATHESAR_DEMO_TEMPLATE\n    root_engine = create_mathesar_engine(settings.DATABASES[\"default\"][\"NAME\"])\n    with root_engine.connect() as conn:\n        conn.execution_options(isolation_level=\"AUTOCOMMIT\")\n        conn.execute(text(f\"DROP DATABASE IF EXISTS {template_db_name} WITH (FORCE)\"))\n    root_engine.dispose()\n    install_mathesar(\n        database_name=template_db_name,\n        username=settings.DATABASES[\"default\"][\"USER\"],\n        password=settings.DATABASES[\"default\"][\"PASSWORD\"],\n        hostname=settings.DATABASES[\"default\"][\"HOST\"],\n        port=settings.DATABASES[\"default\"][\"PORT\"],\n        skip_confirm=True\n    )\n    user_engine = create_mathesar_engine(template_db_name)\n    load_datasets(user_engine)\n    user_engine.dispose()\n", "path": "demo/management/commands/setup_demo_template_db.py"}]}