aboutsummaryrefslogtreecommitdiff
path: root/management
diff options
context:
space:
mode:
authorAlban Gruin2017-01-20 09:58:29 +0100
committerAlban Gruin2017-01-20 09:58:29 +0100
commit14c5a5675338eaddda4dbc38c5bbebfd4093b1ca (patch)
tree7ade7be62440fa7a8477dd6f37f085144420c765 /management
parentd17c1152615162e33703dd67b92b64d0cbf5b63d (diff)
Oubli du type
Diffstat (limited to 'management')
-rw-r--r--management/commands/timetables.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/management/commands/timetables.py b/management/commands/timetables.py
index 99742ae..c67cb0b 100644
--- a/management/commands/timetables.py
+++ b/management/commands/timetables.py
@@ -39,7 +39,7 @@ class Command(BaseCommand):
weeks = get_weeks(soup)
for name, type_, groups, rooms, notes, begin, end in get_events(soup, weeks, week, timetable):
- course = Course.objects.create(name=name, notes=notes, timetable=timetable, begin=begin, end=end)
+ course = Course.objects.create(name=name, type=type_, notes=notes, timetable=timetable, begin=begin, end=end)
course.groups.add(*groups)
if rooms is not None: