From 28a7b9a477c3c7263cc2f6c41e6e61a9de255a38 Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Wed, 4 Dec 2024 09:48:12 -0500 Subject: [PATCH] chore: pick up help_text changes from DAB (#1154) --- poetry.lock | 4 +- .../core/migrations/0054_DAB_help_text.py | 114 ++++++++++++++++++ 2 files changed, 116 insertions(+), 2 deletions(-) create mode 100644 src/aap_eda/core/migrations/0054_DAB_help_text.py diff --git a/poetry.lock b/poetry.lock index 104c73efe..932e17e3c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -621,7 +621,7 @@ bcrypt = ["bcrypt"] [[package]] name = "django-ansible-base" -version = "2024.11.8.0.dev7+gfe4ee752" +version = "2024.11.26.0.dev37+g20f43da" description = "A Django app used by ansible services" optional = false python-versions = ">=3.9" @@ -655,7 +655,7 @@ testing = ["cryptography", "pytest", "pytest-django"] type = "git" url = "https://github.com/ansible/django-ansible-base.git" reference = "devel" -resolved_reference = "3dc1dca437ee594211ec33bfb4c3fa1c6d39d11a" +resolved_reference = "20f43dad090adab8e55bb67594354ecab16e317e" [[package]] name = "django-crum" diff --git a/src/aap_eda/core/migrations/0054_DAB_help_text.py b/src/aap_eda/core/migrations/0054_DAB_help_text.py new file mode 100644 index 000000000..747cacd95 --- /dev/null +++ b/src/aap_eda/core/migrations/0054_DAB_help_text.py @@ -0,0 +1,114 @@ +# Generated by Django 4.2.16 on 2024-11-26 20:11 + +import django.db.models.deletion +from django.conf import settings +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("core", "0053_alter_ruleset_unique_together_and_more"), + ] + + operations = [ + migrations.AlterField( + model_name="organization", + name="created", + field=models.DateTimeField( + auto_now_add=True, + help_text="The date/time this resource was created.", + ), + ), + migrations.AlterField( + model_name="organization", + name="created_by", + field=models.ForeignKey( + default=None, + editable=False, + help_text="The user who created this resource.", + null=True, + on_delete=django.db.models.deletion.SET_NULL, + related_name="%(app_label)s_%(class)s_created+", + to=settings.AUTH_USER_MODEL, + ), + ), + migrations.AlterField( + model_name="organization", + name="modified", + field=models.DateTimeField( + auto_now=True, + help_text="The date/time this resource was created.", + ), + ), + migrations.AlterField( + model_name="organization", + name="modified_by", + field=models.ForeignKey( + default=None, + editable=False, + help_text="The user who last modified this resource.", + null=True, + on_delete=django.db.models.deletion.SET_NULL, + related_name="%(app_label)s_%(class)s_modified+", + to=settings.AUTH_USER_MODEL, + ), + ), + migrations.AlterField( + model_name="organization", + name="name", + field=models.CharField( + help_text="The name of this resource.", + max_length=512, + unique=True, + ), + ), + migrations.AlterField( + model_name="team", + name="created", + field=models.DateTimeField( + auto_now_add=True, + help_text="The date/time this resource was created.", + ), + ), + migrations.AlterField( + model_name="team", + name="created_by", + field=models.ForeignKey( + default=None, + editable=False, + help_text="The user who created this resource.", + null=True, + on_delete=django.db.models.deletion.SET_NULL, + related_name="%(app_label)s_%(class)s_created+", + to=settings.AUTH_USER_MODEL, + ), + ), + migrations.AlterField( + model_name="team", + name="modified", + field=models.DateTimeField( + auto_now=True, + help_text="The date/time this resource was created.", + ), + ), + migrations.AlterField( + model_name="team", + name="modified_by", + field=models.ForeignKey( + default=None, + editable=False, + help_text="The user who last modified this resource.", + null=True, + on_delete=django.db.models.deletion.SET_NULL, + related_name="%(app_label)s_%(class)s_modified+", + to=settings.AUTH_USER_MODEL, + ), + ), + migrations.AlterField( + model_name="team", + name="name", + field=models.CharField( + help_text="The name of this resource.", max_length=512 + ), + ), + ]