mirror of
https://github.com/retspen/webvirtcloud
synced 2026-07-13 15:05:40 +00:00
Compare commits
No commits in common. "89ca8010f4a433060c1eda8e3dfd0f38c06f2ca8" and "a272740be6599f632b74096f25d886782c13c527" have entirely different histories.
89ca8010f4
...
a272740be6
1 changed files with 4 additions and 3 deletions
|
|
@ -1,8 +1,9 @@
|
||||||
# Generated by Django 3.2.13 on 2022-06-30 07:17
|
# Generated by Django 3.2.12 on 2022-06-29 12:13
|
||||||
|
|
||||||
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
|
||||||
|
|
@ -20,9 +21,9 @@ def del_default_settings(apps, schema_editor):
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('appsettings', '0005_auto_20200911_1233'),
|
('appsettings', '0006_alter_appsettings_id'),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
migrations.RunPython(add_default_settings, del_default_settings),
|
migrations.RunPython(add_default_settings, del_default_settings),
|
||||||
]
|
]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue