Stop considering EDE/EDS level in student admin
This commit is contained in:
parent
16ca90f6eb
commit
d65a209766
2 changed files with 8 additions and 8 deletions
|
|
@ -376,11 +376,11 @@ class Student(models.Model):
|
|||
return user.has_perm('stages.change_student') or user.teacher == self.klass.teacher
|
||||
return False
|
||||
|
||||
def is_ede_3(self):
|
||||
return self.klass and self.klass.section.name == 'EDE' and self.klass.level.name == '3'
|
||||
def is_ede(self):
|
||||
return self.klass and self.klass.section.name == 'EDE'
|
||||
|
||||
def is_eds_3(self):
|
||||
return self.klass and self.klass.section.name == 'EDS' and self.klass.level.name == '3'
|
||||
def is_eds(self):
|
||||
return self.klass and self.klass.section.name == 'EDS'
|
||||
|
||||
|
||||
class Examination(models.Model):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue