aboutsummaryrefslogtreecommitdiff
path: root/models.py
diff options
context:
space:
mode:
authorAlban Gruin2017-09-06 16:32:24 +0200
committerAlban Gruin2017-09-06 16:32:24 +0200
commit25166bcee501d1e5d72a2d2372cbeb5c3b82eec7 (patch)
tree0aae42f9d0fbe114aecd2b3f0559d459d9713e73 /models.py
parent773e6e8a82756dae862e730c691c75250a2e4489 (diff)
Ajout d’un champ pour stocker l’ID d’un cours dans Celcat
Diffstat (limited to 'models.py')
-rw-r--r--models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/models.py b/models.py
index 5646a07..6296ce1 100644
--- a/models.py
+++ b/models.py
@@ -160,6 +160,8 @@ class Course(models.Model):
active = models.BooleanField(verbose_name="actif", default=True)
checked = models.BooleanField(default=True, db_index=True)
+ celcat_id = models.IntegerField(verbose_name="ID dans Celcat")
+
def __str__(self):
return self.name