diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-07-15 16:18:14 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-07-15 16:18:14 +0200 |
commit | 14075c7c744bb80da7f25c28f8c4f1322f30a69e (patch) | |
tree | 2974d8cf142a96e5b620b306f24f9698b120959c /ishtar_common/migrations | |
parent | 1bcb570b463370ad1375c395f0f23b204a2dba0e (diff) | |
download | Ishtar-14075c7c744bb80da7f25c28f8c4f1322f30a69e.tar.bz2 Ishtar-14075c7c744bb80da7f25c28f8c4f1322f30a69e.zip |
✨ Find: add the ability to configure a "+ find without context" button
Diffstat (limited to 'ishtar_common/migrations')
-rw-r--r-- | ishtar_common/migrations/0248_ishtarsiteprofile_no_context_button.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ishtar_common/migrations/0248_ishtarsiteprofile_no_context_button.py b/ishtar_common/migrations/0248_ishtarsiteprofile_no_context_button.py new file mode 100644 index 000000000..4bb7a1883 --- /dev/null +++ b/ishtar_common/migrations/0248_ishtarsiteprofile_no_context_button.py @@ -0,0 +1,20 @@ +# Generated by Django 2.2.24 on 2024-07-15 10:50 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('archaeological_context_records', '0117_identification_m2m'), + ('ishtar_common', '0247_document_cached_authors'), + ] + + operations = [ + migrations.AddField( + model_name='ishtarsiteprofile', + name='no_context_button', + field=models.ForeignKey(blank=True, help_text='If provided a button is displayed on find search pages to create a "No context" find', null=True, on_delete=django.db.models.deletion.SET_NULL, to='archaeological_context_records.ContextRecord', verbose_name='Default context record for no context button'), + ), + ] |