web/ldt/ldt_utils/fileimport.py
changeset 9 22ab430e9b64
parent 2 59311c28454f
equal deleted inserted replaced
8:5bb249eefdd1 9:22ab430e9b64
     1 from copy import deepcopy
     1 from copy import deepcopy
     2 from django.conf import settings
     2 from django.conf import settings
     3 from django.core.exceptions import ObjectDoesNotExist
     3 from django.core.exceptions import ObjectDoesNotExist
     4 from ldt.utils import zipfileext
     4 from ldt.utils import zipfileext
     5 from models import Annotation
     5 from models import Content, Media
     6 import fnmatch
     6 import fnmatch
     7 import lxml.etree
     7 import lxml.etree
     8 import os.path
     8 import os.path
     9 import shutil
     9 import shutil
    10 import tempfile
    10 import tempfile