From ead7b9177abdd22bb412607805e73b9214603147 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 23 Aug 2023 18:48:43 -0700 Subject: [PATCH] check-database-compatibility: Ignore twofactor typo. Signed-off-by: Anders Kaseorg --- scripts/lib/check-database-compatibility | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/lib/check-database-compatibility b/scripts/lib/check-database-compatibility index 4067677a03..8ed3a97d12 100755 --- a/scripts/lib/check-database-compatibility +++ b/scripts/lib/check-database-compatibility @@ -120,6 +120,10 @@ missing.difference_update( # https://github.com/python-social-auth/social-app-django/pull/25 missing.discard(("default", "0005_auto_20160727_2333")) +# This was a typo (twofactor for two_factor) corrected in +# https://github.com/jazzband/django-two-factor-auth/pull/642 +missing.discard(("twofactor", "0001_squashed_0008_delete_phonedevice")) + for key, migration in loader.disk_migrations.items(): missing.discard(key) missing.difference_update(migration.replaces)