aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlban Gruin2017-02-04 20:24:56 +0100
committerAlban Gruin2017-02-04 20:24:56 +0100
commitcf33d71b521f6d9a11d351e0a03ac1d8e56123d1 (patch)
treef78e4b2706835d6cafa2ff615c028e0b84718bf1
parent1aca4485ad798cac55fa107b1cae68dfd716cefc (diff)
(ré)implémentation d'extractweekv0.3.1
-rw-r--r--models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/models.py b/models.py
index 85d340c..87c4ca4 100644
--- a/models.py
+++ b/models.py
@@ -10,6 +10,10 @@ import hashlib
import os
+class ExtractWeek(Extract):
+ lookup_name = "week"
+
+
class Timetable(models.Model):
name = models.CharField(max_length=64, unique=True, verbose_name="nom")
url = models.URLField(max_length=255, unique=True, verbose_name="URL")