diff options
author | Alban Gruin | 2018-08-25 22:54:33 +0200 |
---|---|---|
committer | Alban Gruin | 2018-09-03 19:18:58 +0200 |
commit | e7f2ccdd870f998b9199b85bf2c486f8d1d0cceb (patch) | |
tree | b33f466fb0264a47964d6cfe85a83c17227ccf7e /management | |
parent | 5488a93bf2e04d2f19e287186011dcbb436a238b (diff) |
management: création d’un sous-module parser
Signed-off-by: Alban Gruin <alban at pa1ch dot fr>
Diffstat (limited to 'management')
-rw-r--r-- | management/commands/timetables.py | 4 | ||||
-rw-r--r-- | management/parsers/ups2017.py (renamed from management/commands/_private.py) | 0 |
2 files changed, 2 insertions, 2 deletions
diff --git a/management/commands/timetables.py b/management/commands/timetables.py index f92ad4e..8fc8ed6 100644 --- a/management/commands/timetables.py +++ b/management/commands/timetables.py @@ -23,8 +23,8 @@ from django.db.models import Min from ...models import Course, Source from ...utils import get_week, tz_now -from ._private import delete_courses_in_week, get_events, get_update_date, \ - get_weeks, get_xml +from ..parsers.ups2017 import delete_courses_in_week, get_events, \ + get_update_date, get_weeks, get_xml @transaction.atomic diff --git a/management/commands/_private.py b/management/parsers/ups2017.py index 94c1918..94c1918 100644 --- a/management/commands/_private.py +++ b/management/parsers/ups2017.py |