mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 03:49:24 +00:00
pedagogy: simplify and implement department system according to old database model
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user