wip
This commit is contained in:
parent
8748be2b22
commit
2f48b1057f
|
@ -0,0 +1,22 @@
|
||||||
|
# Generated by Django 3.2.18 on 2023-05-10 16:22
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
dependencies = [
|
||||||
|
('agendas', '0152_auto_20230331_0834'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='meetingtype',
|
||||||
|
name='date_end',
|
||||||
|
field=models.DateField(blank=True, null=True, verbose_name='End'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='meetingtype',
|
||||||
|
name='date_start',
|
||||||
|
field=models.DateField(blank=True, null=True, verbose_name='Start'),
|
||||||
|
),
|
||||||
|
]
|
|
@ -1886,6 +1886,8 @@ class MeetingType(models.Model):
|
||||||
label = models.CharField(_('Label'), max_length=150)
|
label = models.CharField(_('Label'), max_length=150)
|
||||||
slug = models.SlugField(_('Identifier'), max_length=160)
|
slug = models.SlugField(_('Identifier'), max_length=160)
|
||||||
duration = models.IntegerField(_('Duration (in minutes)'), default=30, validators=[MinValueValidator(1)])
|
duration = models.IntegerField(_('Duration (in minutes)'), default=30, validators=[MinValueValidator(1)])
|
||||||
|
date_start = models.DateField(_('Start'), null=True, blank=True)
|
||||||
|
date_end = models.DateField(_('End'), null=True, blank=True)
|
||||||
deleted = models.BooleanField(_('Deleted'), default=False)
|
deleted = models.BooleanField(_('Deleted'), default=False)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
|
Loading…
Reference in New Issue