From 22ac6f1c602d4c085da642f50d3fae05c408926f Mon Sep 17 00:00:00 2001 From: Info-IIG Date: Thu, 30 Jun 2022 09:48:47 +0200 Subject: [PATCH] Fix dependencies reference nonexistent in appsettings migrations --- ...07_auto_20220629_1213.py => 0006_auto_20220630_0717.py} | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) rename appsettings/migrations/{0007_auto_20220629_1213.py => 0006_auto_20220630_0717.py} (80%) diff --git a/appsettings/migrations/0007_auto_20220629_1213.py b/appsettings/migrations/0006_auto_20220630_0717.py similarity index 80% rename from appsettings/migrations/0007_auto_20220629_1213.py rename to appsettings/migrations/0006_auto_20220630_0717.py index e9f2ed5..b9d9871 100644 --- a/appsettings/migrations/0007_auto_20220629_1213.py +++ b/appsettings/migrations/0006_auto_20220630_0717.py @@ -1,9 +1,8 @@ -# Generated by Django 3.2.12 on 2022-06-29 12:13 +# Generated by Django 3.2.13 on 2022-06-30 07:17 from django.db import migrations from django.utils.translation import gettext_lazy as _ - def add_default_settings(apps, schema_editor): setting = apps.get_model("appsettings", "AppSettings") db_alias = schema_editor.connection.alias @@ -21,9 +20,9 @@ def del_default_settings(apps, schema_editor): class Migration(migrations.Migration): dependencies = [ - ('appsettings', '0006_alter_appsettings_id'), + ('appsettings', '0005_auto_20200911_1233'), ] operations = [ - migrations.RunPython(add_default_settings, del_default_settings), + migrations.RunPython(add_default_settings, del_default_settings), ]