Formatting fixes
This commit is contained in:
parent
fdf81eb95f
commit
e08356e6eb
3 changed files with 25 additions and 31 deletions
|
|
@ -216,7 +216,7 @@ class Corporation(models.Model):
|
|||
class Meta:
|
||||
verbose_name = "Institution"
|
||||
ordering = ('name',)
|
||||
unique_together=(('name', 'city'),)
|
||||
unique_together = (('name', 'city'),)
|
||||
|
||||
def __str__(self):
|
||||
sect = ' (%s)' % self.sector if self.sector else ''
|
||||
|
|
@ -352,7 +352,7 @@ class Training(models.Model):
|
|||
IMPUTATION_CHOICES = (
|
||||
('ASAFE', 'ASAFE'),
|
||||
('ASEFE', 'ASEFE'),
|
||||
('ASSCFE','ASSCFE'),
|
||||
('ASSCFE', 'ASSCFE'),
|
||||
('EDEpe', 'EDEpe'),
|
||||
('EDEps', 'EDEps'),
|
||||
('EDE', 'EDE'),
|
||||
|
|
@ -360,6 +360,7 @@ IMPUTATION_CHOICES = (
|
|||
('CAS-FPP', 'CAS-FPP'),
|
||||
)
|
||||
|
||||
|
||||
class Course(models.Model):
|
||||
"""Cours et mandats attribués aux enseignants"""
|
||||
teacher = models.ForeignKey(Teacher, blank=True, null=True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue