diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-09-16 19:04:34 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-09-16 19:04:34 +0200 |
commit | fd5e330ede426a7152deab41620b6a60b63df220 (patch) | |
tree | 02fb227e93c929db6dc4a3d6ef254516bdc6f2fe /ishtar_common/migrations | |
parent | 0f88ac0c7abd4ecb5e9bed54474af23752efcbcd (diff) | |
download | Ishtar-fd5e330ede426a7152deab41620b6a60b63df220.tar.bz2 Ishtar-fd5e330ede426a7152deab41620b6a60b63df220.zip |
🗃️ context records new fields, default values, admin interface - town add notice (refs #6024)
Town:
- notice
Context records:
- excavated length
- excavated width
- structure
- texture
- colors
- details on colors
- inclusions
Diffstat (limited to 'ishtar_common/migrations')
-rw-r--r-- | ishtar_common/migrations/0249_town_notice.py | 24 |
1 files changed, 24 insertions, 0 deletions
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'), + ), + ] |