diff --git a/apps/assets/migrations/0001_initial.py b/apps/assets/migrations/0001_initial.py index 3da5be1a3..7c0a9e95a 100644 --- a/apps/assets/migrations/0001_initial.py +++ b/apps/assets/migrations/0001_initial.py @@ -12,18 +12,16 @@ def add_default_group(apps, schema_editor): group_model = apps.get_model("assets", "AssetGroup") db_alias = schema_editor.connection.alias group_model.objects.using(db_alias).create( - name="default" + name="Default" ) - print("Add default group") def add_default_cluster(apps, schema_editor): cluster_model = apps.get_model("assets", "Cluster") db_alias = schema_editor.connection.alias cluster_model.objects.using(db_alias).create( - name="default" + name="Default" ) - print("Add default cluster") class Migration(migrations.Migration): diff --git a/apps/users/migrations/0001_initial.py b/apps/users/migrations/0001_initial.py index afbc2e034..521f2efe2 100644 --- a/apps/users/migrations/0001_initial.py +++ b/apps/users/migrations/0001_initial.py @@ -16,9 +16,8 @@ def add_default_group(apps, schema_editor): group_model = apps.get_model("users", "UserGroup") db_alias = schema_editor.connection.alias group_model.objects.using(db_alias).create( - name="default" + name="Default" ) - print("Add default user group: {}".format("default")) def add_default_admin(apps, schema_editor): @@ -29,7 +28,6 @@ def add_default_admin(apps, schema_editor): email="admin@mycomany.com", role="Admin", password=make_password("admin"), ) - print("Add default user: {}".format(admin.name)) class Migration(migrations.Migration):