mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-16 16:14:28 -04:00
fix: Migrations should be silent when running in setup_django
This commit is contained in:
parent
9aac09a5e1
commit
9745a5ac56
1 changed files with 1 additions and 1 deletions
|
@ -1010,7 +1010,7 @@ def setup_django(out_dir: Path=None, check_db=False, config: ConfigDict=CONFIG,
|
|||
from django.core.management import call_command
|
||||
os.environ.setdefault("ARCHIVEBOX_DATABASE_NAME", ":memory:")
|
||||
django.setup()
|
||||
call_command("migrate", interactive=False, stdout=False)
|
||||
call_command("migrate", interactive=False, verbosity=0)
|
||||
else:
|
||||
django.setup()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue