aboutsummaryrefslogtreecommitdiff
path: root/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'models.py')
-rw-r--r--models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/models.py b/models.py
index 0b0ee63..de14b43 100644
--- a/models.py
+++ b/models.py
@@ -157,6 +157,9 @@ class Course(models.Model):
begin = models.DateTimeField(verbose_name="début du cours", db_index=True)
end = models.DateTimeField(verbose_name="fin du cours")
+ active = models.BooleanField(verbose_name="actif", default=True)
+ checked = models.BooleanField(default=True, db_index=True)
+
def __str__(self):
return self.name