aboutsummaryrefslogtreecommitdiffstats
path: root/src/notifier/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/notifier/models.py')
-rw-r--r--src/notifier/models.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/notifier/models.py b/src/notifier/models.py
index 382d3a9..0af748b 100644
--- a/src/notifier/models.py
+++ b/src/notifier/models.py
@@ -27,10 +27,8 @@ class Notification(models.Model):
class Emailed(models.Model):
- """
- A simple record to remember who has already gotten an email
- to avoid resending
- """
+ """A simple record to remember who has already gotten an email to avoid resending."""
+
begin_booking = models.OneToOneField(
Booking,
null=True,
@@ -49,4 +47,3 @@ class Emailed(models.Model):
on_delete=models.CASCADE,
related_name="over_mail"
)
-