diff options
| author | Alban Gruin | 2017-02-27 11:14:26 +0100 | 
|---|---|---|
| committer | Alban Gruin | 2017-02-27 11:14:26 +0100 | 
| commit | a9f2d9a4c736511235140f362ab33eb7da0cda61 (patch) | |
| tree | eb03a09435b5cf251bc9ba8b028bf7c881c861a1 /management/commands/timetables.py | |
| parent | ba7d2e5c5a78170fa178cd6f9a07a35ec385b63a (diff) | |
Nettoyage des imports
Diffstat (limited to 'management/commands/timetables.py')
| -rw-r--r-- | management/commands/timetables.py | 9 | 
1 files changed, 3 insertions, 6 deletions
| diff --git a/management/commands/timetables.py b/management/commands/timetables.py index 50256db..d39075d 100644 --- a/management/commands/timetables.py +++ b/management/commands/timetables.py @@ -14,17 +14,14 @@  #    with celcatsanitizer; if not, write to the Free Software Foundation, Inc.,  #    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -from django.core.management.base import BaseCommand, CommandError +from django.core.management.base import BaseCommand  from django.db import transaction  from django.utils import timezone -from edt.models import Timetable, LastUpdate, Group, Room, Course +from edt.models import Timetable, LastUpdate, Course -from bs4 import BeautifulSoup - -from ._private import delete_courses_in_week, get_events, get_weeks, get_xml, Week +from ._private import delete_courses_in_week, get_events, get_weeks, get_xml  import datetime -import requests  @transaction.atomic  def process_timetable_week(timetable, year, week, soup, weeks_in_soup): | 
