pedagogy: simplify and implement department system according to old database model

This commit is contained in:
2019-06-18 10:56:05 +02:00
parent d44fa73b2a
commit 358a625cc4
8 changed files with 35 additions and 94 deletions

View File

@ -98,7 +98,13 @@ class UV(models.Model):
null=False,
)
# Double star type not implemented yet
# Departments not implemented yet
department = models.CharField(
_("departmenmt"),
max_length=10,
choices=settings.SITH_PROFILE_DEPARTMENTS,
default=settings.SITH_PROFILE_DEPARTMENTS[-1][0],
)
# All texts about the UV
title = models.CharField(_("title"), max_length=300)
@ -240,19 +246,3 @@ class UVCommentReport(models.Model):
"""
pass
class EducationDepartment(models.Model):
"""
Education department of the school
"""
pass
class StudyField(models.Model):
"""
Speciality inside an Education Department
"""
pass