diff options
author | Alban Gruin | 2017-01-20 09:58:29 +0100 |
---|---|---|
committer | Alban Gruin | 2017-01-20 09:58:29 +0100 |
commit | 14c5a5675338eaddda4dbc38c5bbebfd4093b1ca (patch) | |
tree | 7ade7be62440fa7a8477dd6f37f085144420c765 | |
parent | d17c1152615162e33703dd67b92b64d0cbf5b63d (diff) |
Oubli du type
-rw-r--r-- | management/commands/timetables.py | 2 |
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: |