update production branch #57

Merged
heinzel merged 6 commits from master into production 2023-02-15 19:48:20 +01:00
2 changed files with 19 additions and 2 deletions
Showing only changes of commit 02bea140d7 - Show all commits

View File

@@ -0,0 +1,18 @@
# Generated by Django 3.2.13 on 2023-02-15 16:56
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('dav_registration', '0011_auto_20220607_1345'),
]
operations = [
migrations.AlterField(
model_name='registrationstatus',
name='accepted',
field=models.BooleanField(blank=True, null=True, verbose_name='Zusage erteilt'),
),
]

View File

@@ -221,8 +221,7 @@ class RegistrationStatus(models.Model):
registration = models.OneToOneField(Registration, on_delete=models.CASCADE, related_name='status')
updated_at = models.DateTimeField(auto_now=True)
answered = models.BooleanField(_('Durch Tourleitung beantwortet'), default=False)
# TODO: NullBooleanField is marked deprecated
accepted = models.NullBooleanField(_('Zusage erteilt'))
accepted = models.BooleanField(_('Zusage erteilt'), null=True, blank=True)
class Meta:
verbose_name = _('Anmeldungsstatus')