from librarian import DocProvider, IOFile
from librarian.pyhtml import EduModuleFormat
from librarian.pypdf import EduModulePDFFormat
from librarian import DocProvider, IOFile
from librarian.pyhtml import EduModuleFormat
from librarian.pypdf import EduModulePDFFormat
from .models import Lesson, Attachment
from fnpdjango.utils.text.slughifi import slughifi
from .models import Lesson, Attachment
from fnpdjango.utils.text.slughifi import slughifi
IMAGE_FORMATS = ('PNG', 'JPEG', 'GIF')
DEFAULT_IMAGE_WIDTH = 1600
IMAGE_FORMATS = ('PNG', 'JPEG', 'GIF')
DEFAULT_IMAGE_WIDTH = 1600