From fd5e330ede426a7152deab41620b6a60b63df220 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 16 Sep 2024 19:04:34 +0200 Subject: 🗃️ context records new fields, default values, admin interface - town add notice (refs #6024) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Town: - notice Context records: - excavated length - excavated width - structure - texture - colors - details on colors - inclusions --- ishtar_common/migrations/0249_town_notice.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 ishtar_common/migrations/0249_town_notice.py (limited to 'ishtar_common/migrations') diff --git a/ishtar_common/migrations/0249_town_notice.py b/ishtar_common/migrations/0249_town_notice.py new file mode 100644 index 000000000..f4961a6a7 --- /dev/null +++ b/ishtar_common/migrations/0249_town_notice.py @@ -0,0 +1,24 @@ +# Generated by Django 2.2.24 on 2024-09-16 17:22 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('ishtar_common', '0248_ishtarsiteprofile_no_context_button'), + ] + + operations = [ + migrations.AddField( + model_name='town', + name='notice', + field=models.TextField(blank=True, default='', verbose_name='Notice'), + ), + migrations.AlterField( + model_name='ishtarsiteprofile', + name='no_context_button', + field=models.ForeignKey(blank=True, help_text='If provided a button is displayed on find add page to create a "No context" find', null=True, on_delete=django.db.models.deletion.SET_NULL, to='archaeological_context_records.ContextRecord', verbose_name='Context record for no context button'), + ), + ] -- cgit v1.2.3