diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-02-09 18:22:04 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-04-16 16:41:50 +0200 |
commit | f6b2cf2702b405b77bf2642281cb38f5610409c4 (patch) | |
tree | 9334141185a75a457decbb8a831030fd3b0c33ce /ishtar_common/migrations | |
parent | a6e806ddd867ef953715c5beed8015006f8a14c5 (diff) | |
download | Ishtar-f6b2cf2702b405b77bf2642281cb38f5610409c4.tar.bz2 Ishtar-f6b2cf2702b405b77bf2642281cb38f5610409c4.zip |
✨ museum fields: forms
Diffstat (limited to 'ishtar_common/migrations')
-rw-r--r-- | ishtar_common/migrations/0236_auto_20240209_1558.py (renamed from ishtar_common/migrations/0236_auto_20240208_1635.py) | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/ishtar_common/migrations/0236_auto_20240208_1635.py b/ishtar_common/migrations/0236_auto_20240209_1558.py index 48b1060d6..6fd6014fe 100644 --- a/ishtar_common/migrations/0236_auto_20240208_1635.py +++ b/ishtar_common/migrations/0236_auto_20240209_1558.py @@ -1,4 +1,4 @@ -# Generated by Django 2.2.24 on 2024-02-08 16:35 +# Generated by Django 2.2.24 on 2024-02-09 15:58 import django.core.validators from django.db import migrations, models @@ -27,7 +27,7 @@ class Migration(migrations.Migration): options={ 'verbose_name': 'Shooting angle', 'verbose_name_plural': 'Shooting angles', - 'ordering': ('label',), + 'ordering': ('order', 'label'), }, bases=(ishtar_common.models_common.Cached, models.Model), ), @@ -61,6 +61,16 @@ class Migration(migrations.Migration): field=models.TextField(blank=True, default='', verbose_name='Museofile id'), ), migrations.AddField( + model_name='ishtarsiteprofile', + name='museum', + field=models.BooleanField(default=False, help_text='Need finds module', verbose_name='Museum module'), + ), + migrations.AddField( + model_name='ishtarsiteprofile', + name='museum_complete_identifier', + field=models.TextField(default='{{museum_id_prefix}}.{{museum_id}}.{{museum_id_suffix}}', help_text='Formula to manage cached label. If not set a default formula is used.', verbose_name='Find - Complete museum ID'), + ), + migrations.AddField( model_name='licensetype', name='order', field=models.IntegerField(default=10, verbose_name='Order'), |