From 3148d2a3ef5714f00a6c23aed02c750c6e4f0bc5 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 19 Aug 2024 18:35:07 -0700 Subject: [PATCH] add squashmigrations to allowed mgmgt command list --- archivebox/manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/manage.py b/archivebox/manage.py index 413a4cfb..6e8c578a 100755 --- a/archivebox/manage.py +++ b/archivebox/manage.py @@ -7,7 +7,7 @@ if __name__ == '__main__': # versions of ./manage.py commands whenever possible. When that's not possible # (e.g. makemigrations), you can comment out this check temporarily - if not ('makemigrations' in sys.argv or 'migrate' in sys.argv or 'startapp' in sys.argv): + if not ('makemigrations' in sys.argv or 'migrate' in sys.argv or 'startapp' in sys.argv or 'squashmigrations' in sys.argv): print("[X] Don't run ./manage.py directly (unless you are a developer running makemigrations):") print() print(' Hint: Use these archivebox CLI commands instead of the ./manage.py equivalents:')