From cd78d92c33de6a1addba8df4d08ed4fb1a4f57f8 Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Sat, 17 Feb 2024 10:27:58 +0100 Subject: [PATCH 1/4] =?UTF-8?q?on=20change=20la=20valeur=20par=20d=C3=A9fa?= =?UTF-8?q?ut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ecurrentimport_defaultcategory_and_more.py | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/agenda_culturel/migrations/0032_alter_recurrentimport_defaultcategory_and_more.py diff --git a/src/agenda_culturel/migrations/0032_alter_recurrentimport_defaultcategory_and_more.py b/src/agenda_culturel/migrations/0032_alter_recurrentimport_defaultcategory_and_more.py new file mode 100644 index 0000000..0011271 --- /dev/null +++ b/src/agenda_culturel/migrations/0032_alter_recurrentimport_defaultcategory_and_more.py @@ -0,0 +1,24 @@ +# Generated by Django 4.2.7 on 2024-02-17 08:45 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('agenda_culturel', '0031_recurrentimport_defaultpublished'), + ] + + operations = [ + migrations.AlterField( + model_name='recurrentimport', + name='defaultCategory', + field=models.ForeignKey(default=1, help_text='Category of each imported event', on_delete=django.db.models.deletion.SET_DEFAULT, to='agenda_culturel.category', verbose_name='Category'), + ), + migrations.AlterField( + model_name='recurrentimport', + name='processor', + field=models.CharField(choices=[('ical', 'ical'), ('icalnobusy', 'ical no busy'), ('icalnovc', 'ical no VC')], default='ical', max_length=20, verbose_name='Processor'), + ), + ] From 97cca0b5c94f0283d2930fc099393ce382a87eb6 Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Sat, 17 Feb 2024 10:31:06 +0100 Subject: [PATCH 2/4] =?UTF-8?q?r=C3=A9ajustement=20du=20menu=20d'administr?= =?UTF-8?q?ation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/agenda_culturel/side-nav.html | 33 +++++++------------ 1 file changed, 11 insertions(+), 22 deletions(-) diff --git a/src/agenda_culturel/templates/agenda_culturel/side-nav.html b/src/agenda_culturel/templates/agenda_culturel/side-nav.html index 22bc65c..7f46cc4 100644 --- a/src/agenda_culturel/templates/agenda_culturel/side-nav.html +++ b/src/agenda_culturel/templates/agenda_culturel/side-nav.html @@ -4,41 +4,30 @@