Skip to content
Snippets Groups Projects
Verified Commit a6c99874 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Inherit from Model explicitly

parent e3a83085
No related branches found
No related tags found
No related merge requests found
Pipeline #275 failed
......@@ -44,7 +44,7 @@ class SchoolTerm(models.Model):
'Effective end date of term'), null=True)
class Person(ExtensibleModel):
class Person(models.Model, ExtensibleModel):
""" A model describing any person related to a school, including, but not
limited to, students, teachers and guardians (parents).
"""
......@@ -132,7 +132,7 @@ class Person(ExtensibleModel):
return self.full_name
class Group(ExtensibleModel):
class Group(models.Model, ExtensibleModel):
"""Any kind of group of persons in a school, including, but not limited
classes, clubs, and the like.
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment