mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 23:55:24 +00:00
Merge pull request #512 from Info-IIG/develop
Fix dependencies reference nonexistent in appsettings migrations
This commit is contained in:
commit
89ca8010f4
1 changed files with 3 additions and 4 deletions
|
@ -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.db import migrations
|
||||||
from django.utils.translation import gettext_lazy as _
|
from django.utils.translation import gettext_lazy as _
|
||||||
|
|
||||||
|
|
||||||
def add_default_settings(apps, schema_editor):
|
def add_default_settings(apps, schema_editor):
|
||||||
setting = apps.get_model("appsettings", "AppSettings")
|
setting = apps.get_model("appsettings", "AppSettings")
|
||||||
db_alias = schema_editor.connection.alias
|
db_alias = schema_editor.connection.alias
|
||||||
|
@ -21,7 +20,7 @@ def del_default_settings(apps, schema_editor):
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('appsettings', '0006_alter_appsettings_id'),
|
('appsettings', '0005_auto_20200911_1233'),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
Loading…
Reference in a new issue