Ajout formulaire de commentaire élève
This commit is contained in:
parent
29d5f6e310
commit
703c217ec2
8 changed files with 133 additions and 5 deletions
|
|
@ -307,6 +307,8 @@ class Student(models.Model):
|
|||
date_soutenance_mailed = models.DateTimeField("Convoc. env.", blank=True, null=True)
|
||||
date_confirm_received = models.DateTimeField("Récept. confirm", blank=True, null=True)
|
||||
# ============== Fields for examination ======================
|
||||
mc_comment = models.TextField("Commentaires", blank=True)
|
||||
|
||||
support_tabimport = True
|
||||
|
||||
class Meta:
|
||||
|
|
@ -369,6 +371,15 @@ class Student(models.Model):
|
|||
return missing
|
||||
|
||||
|
||||
class StudentFile(models.Model):
|
||||
student = models.ForeignKey(Student, on_delete=models.CASCADE)
|
||||
fichier = models.FileField(upload_to='etudiants')
|
||||
titre = models.CharField("Titre", max_length=200)
|
||||
|
||||
def __str__(self):
|
||||
return self.title
|
||||
|
||||
|
||||
class Corporation(models.Model):
|
||||
ext_id = models.IntegerField(null=True, blank=True, verbose_name='ID externe')
|
||||
name = models.CharField(max_length=100, verbose_name='Nom')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue