From d84021915f1d4464acbc63382c6aefa299fc2b6a Mon Sep 17 00:00:00 2001 From: realaravinth Date: Tue, 28 Jun 2022 00:56:34 +0530 Subject: [PATCH] fix: typo --- ...03_rename_creted_instancecreated_created.py | 18 ++++++++++++++++++ infrastructure/models.py | 4 ++-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 infrastructure/migrations/0003_rename_creted_instancecreated_created.py diff --git a/infrastructure/migrations/0003_rename_creted_instancecreated_created.py b/infrastructure/migrations/0003_rename_creted_instancecreated_created.py new file mode 100644 index 0000000..3fcb19a --- /dev/null +++ b/infrastructure/migrations/0003_rename_creted_instancecreated_created.py @@ -0,0 +1,18 @@ +# Generated by Django 4.0.3 on 2022-06-27 17:29 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ("infrastructure", "0002_instancecreated_gitea_password"), + ] + + operations = [ + migrations.RenameField( + model_name="instancecreated", + old_name="creted", + new_name="created", + ), + ] diff --git a/infrastructure/models.py b/infrastructure/models.py index a74f4ab..2ad0a90 100644 --- a/infrastructure/models.py +++ b/infrastructure/models.py @@ -20,8 +20,8 @@ from dash.models import Instance class InstanceCreated(models.Model): instance = models.ForeignKey(Instance, on_delete=models.PROTECT) gitea_password = models.CharField( - "Name of this configuration", + "Gitea password of this deployment", default=None, max_length=32, ) - creted = models.BooleanField(default=False) + created = models.BooleanField(default=False)