From 7d31b65512faea0aaf986bcea5a239e718306071 Mon Sep 17 00:00:00 2001
From: Tom Teichler <tom.teichler@teckids.org>
Date: Mon, 11 May 2020 15:31:51 +0200
Subject: [PATCH] Use ExtensibleModel

---
 aleksis/apps/alsijil/models.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/aleksis/apps/alsijil/models.py b/aleksis/apps/alsijil/models.py
index 8874719bf..916486fd7 100644
--- a/aleksis/apps/alsijil/models.py
+++ b/aleksis/apps/alsijil/models.py
@@ -1,14 +1,14 @@
 from django.db import models
 from django.utils.translation import gettext_lazy as _
 
-from aleksis.core.mixins import CRUDMixin
+from aleksis.core.mixins import ExtensibleModel
 
 
 def isidentifier(value: str) -> bool:
     return value.isidentifier()
 
 
-class PersonalNote(models.Model):
+class PersonalNote(ExtensibleModel):
     """ A personal note about a single person. Used in the class register to note
     absences, excuses and remarks about a student in a single lesson period.
     """
@@ -38,7 +38,7 @@ class PersonalNote(models.Model):
         ]
 
 
-class LessonDocumentation(CRUDMixin):
+class LessonDocumentation(ExtensibleModel):
     """ A documentation on a single lesson period. Non-personal, includes
     the topic and homework of the lesson.
     """
@@ -61,7 +61,7 @@ class LessonDocumentation(CRUDMixin):
         ]
 
 
-class PersonalNoteFilter(models.Model):
+class PersonalNoteFilter(ExtensibleModel):
     """ A filter definition that can generate statistics on personal note texts. """
 
     identifier = models.CharField(
-- 
GitLab