Compare commits
No commits in common. "d390bc6c3409ec6b096b3e223c0a3cb1c7d3adf1" and "c279b53abf3d980400564c4e3104bf841214222b" have entirely different histories.
d390bc6c34
...
c279b53abf
|
@ -1,18 +0,0 @@
|
||||||
# Generated by Django 5.0.4 on 2025-03-14 22:35
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
("app", "0012_alter_shift_deleted_alter_shift_start_at"),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AddField(
|
|
||||||
model_name="room",
|
|
||||||
name="send_reminders",
|
|
||||||
field=models.BooleanField(default=True),
|
|
||||||
),
|
|
||||||
]
|
|
|
@ -19,7 +19,6 @@ class Room(models.Model):
|
||||||
required_helpers = models.IntegerField()
|
required_helpers = models.IntegerField()
|
||||||
meeting_location = models.TextField(default="Infopoint")
|
meeting_location = models.TextField(default="Infopoint")
|
||||||
description = models.TextField(blank=True, default="")
|
description = models.TextField(blank=True, default="")
|
||||||
send_reminders = models.BooleanField(default=True)
|
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.name
|
return self.name
|
||||||
|
|
|
@ -73,7 +73,6 @@ def send_reminders():
|
||||||
reminder_sent=False,
|
reminder_sent=False,
|
||||||
shift__start_at__lte=timezone.now()
|
shift__start_at__lte=timezone.now()
|
||||||
+ global_preferences["helper__reminder_time"],
|
+ global_preferences["helper__reminder_time"],
|
||||||
shift__room__send_reminders=True,
|
|
||||||
)
|
)
|
||||||
with transaction.atomic():
|
with transaction.atomic():
|
||||||
for reg in regs:
|
for reg in regs:
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
# Generated by Django 5.0.4 on 2025-03-14 22:35
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
("fallback", "0007_teammember_comment"),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AlterField(
|
|
||||||
model_name="teammember",
|
|
||||||
name="comment",
|
|
||||||
field=models.CharField(blank=True, default="", max_length=100),
|
|
||||||
),
|
|
||||||
]
|
|
Loading…
Reference in New Issue