Verified Commit c925a1e7 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix pizza order where pizza event has no notification, closes #819

parent eb8602ca
......@@ -186,13 +186,13 @@ class Order(models.Model):
def save(self, *args, **kwargs):
if not
if not and self.pizza_event.end_reminder:
super().save(*args, **kwargs)
def delete(self, using=None, keep_parents=False):
if not
if not and self.pizza_event.end_reminder:
super().delete(using, keep_parents)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment