From afe8031fc2838c99d1de42bda62161b3b0bd56ec Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Sat, 23 Oct 2021 16:25:41 +0000
Subject: [PATCH] Raise NotImplementedError instead of silently passing in
 update()

---
 aleksis/apps/resint/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aleksis/apps/resint/models.py b/aleksis/apps/resint/models.py
index b0c0d5c..e7acd04 100644
--- a/aleksis/apps/resint/models.py
+++ b/aleksis/apps/resint/models.py
@@ -202,7 +202,7 @@ class LiveDocument(ExtensiblePolymorphicModel):
 
         Has to be implemented by subclasses.
         """
-        pass
+        raise NotImplementedError("Subclasses of LiveDocument must implement update()")
 
     def __str__(self) -> str:
         return self.name
-- 
GitLab