From 9c54918e1d88b5aa59508c4523e0f48d4c5f81f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9COMosimege=E2=80=9D?= <“onalerona.mosimege@gmail.com”> Date: Tue, 2 Jul 2024 07:18:56 +0200 Subject: [PATCH] add migrations --- ...011_alter_documentfile_options_and_more.py | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 app/general/migrations/0011_alter_documentfile_options_and_more.py diff --git a/app/general/migrations/0011_alter_documentfile_options_and_more.py b/app/general/migrations/0011_alter_documentfile_options_and_more.py new file mode 100644 index 00000000..4010da6f --- /dev/null +++ b/app/general/migrations/0011_alter_documentfile_options_and_more.py @@ -0,0 +1,31 @@ +# Generated by Django 5.0.2 on 2024-07-02 05:18 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('general', '00010_documentfile_search_vector_trigger'), + ] + + operations = [ + migrations.AlterModelOptions( + name='documentfile', + options={'verbose_name': 'Document', 'verbose_name_plural': 'Documents'}, + ), + migrations.AlterModelOptions( + name='historicaldocumentfile', + options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical Document', 'verbose_name_plural': 'historical Documents'}, + ), + migrations.AlterField( + model_name='documentfile', + name='document_type', + field=models.CharField(choices=[('Glossary', 'Glossary'), ('Policy', 'Policy')], max_length=200, verbose_name='document category'), + ), + migrations.AlterField( + model_name='historicaldocumentfile', + name='document_type', + field=models.CharField(choices=[('Glossary', 'Glossary'), ('Policy', 'Policy')], max_length=200, verbose_name='document category'), + ), + ]