diff --git a/aleksis/core/migrations/0001_initial.py b/aleksis/core/migrations/0001_initial.py index f8cc0d4d5294f0ca7b9243a3ce704d94169d855c..46dddd72a3bede7b52939575bd10a5c1ddd54054 100644 --- a/aleksis/core/migrations/0001_initial.py +++ b/aleksis/core/migrations/0001_initial.py @@ -26,7 +26,7 @@ class Migration(migrations.Migration): options={ 'ordering': ['short_name', 'name'], }, - bases=(models.Model, aleksis.core.mixins.ExtensibleModel), + bases=(aleksis.core.mixins.ExtensibleModel,), ), migrations.CreateModel( name='School', @@ -98,7 +98,7 @@ class Migration(migrations.Migration): options={ 'ordering': ['last_name', 'first_name'], }, - bases=(models.Model, aleksis.core.mixins.ExtensibleModel), + bases=(aleksis.core.mixins.ExtensibleModel,), ), migrations.AddField( model_name='group', diff --git a/aleksis/core/models.py b/aleksis/core/models.py index 6954f8b64e35bd9360466f15988f36b3d6013561..6b712780bff8dac1c1551f5782ded576b4761898 100644 --- a/aleksis/core/models.py +++ b/aleksis/core/models.py @@ -64,7 +64,7 @@ class SchoolTerm(models.Model): verbose_name_plural = _("School terms") -class Person(models.Model, ExtensibleModel): +class Person(ExtensibleModel): """ A model describing any person related to a school, including, but not limited to, students, teachers and guardians (parents). """ @@ -159,7 +159,7 @@ class Person(models.Model, ExtensibleModel): return self.full_name -class Group(models.Model, ExtensibleModel): +class Group(ExtensibleModel): """Any kind of group of persons in a school, including, but not limited classes, clubs, and the like. """