diff --git a/src/agenda_culturel/migrations/0073_alter_event_location.py b/src/agenda_culturel/migrations/0073_alter_event_location.py new file mode 100644 index 0000000..f0e4e35 --- /dev/null +++ b/src/agenda_culturel/migrations/0073_alter_event_location.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.9 on 2024-09-04 21:57 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('agenda_culturel', '0072_alter_recurrentimport_processor'), + ] + + operations = [ + migrations.AlterField( + model_name='event', + name='location', + field=models.CharField(blank=True, default='', help_text='Address of the event in case its not available in the already known places (free form)', max_length=512, null=True, verbose_name='Location (free form)'), + ), + ] diff --git a/src/agenda_culturel/models.py b/src/agenda_culturel/models.py index db980a3..c282ce6 100644 --- a/src/agenda_culturel/models.py +++ b/src/agenda_culturel/models.py @@ -362,6 +362,8 @@ class Event(models.Model): ), max_length=512, default="", + null=True, + blank=True ) description = models.TextField(