from .generic import (
    Convert,
    MapEntityList,
    MapEntityFormat,
    MapEntityMapImage,
    MapEntityDocument,
    DocumentConvert,
    MapEntityCreate,
    MapEntityDetail,
    MapEntityUpdate,
    MapEntityDelete,
)
from .api import (
    MapEntityLayer,
    MapEntityJsonList,
    MapEntityViewSet
)
from .mixins import (
    HttpJSONResponse,
    JSONResponseMixin,
    LastModifiedMixin,
    ModelViewMixin,
)
from .base import (
    handler403,
    handler404,
    handler500,
    serve_attachment,
    JSSettings,
    map_screenshot,
    history_delete,
)
from .logentry import LogEntryList


MAPENTITY_GENERIC_VIEWS = [
    MapEntityLayer,
    MapEntityList,
    MapEntityJsonList,
    MapEntityFormat,
    MapEntityMapImage,
    MapEntityDocument,
    MapEntityCreate,
    MapEntityDetail,
    MapEntityUpdate,
    MapEntityDelete,
]

__all__ = [
    'Convert',
    'MapEntityList',
    'MapEntityFormat',
    'MapEntityMapImage',
    'MapEntityDocument',
    'DocumentConvert',
    'MapEntityCreate',
    'MapEntityDetail',
    'MapEntityUpdate',
    'MapEntityDelete',

    'MapEntityLayer',
    'MapEntityJsonList',
    'MapEntityViewSet',

    'HttpJSONResponse',
    'JSONResponseMixin',
    'LastModifiedMixin',
    'ModelViewMixin',
    'MAPENTITY_GENERIC_VIEWS',

    'handler403',
    'handler404',
    'handler500',
    'serve_attachment',
    'JSSettings',
    'map_screenshot',
    'convert',
    'history_delete',

    'LogEntryList',
]

@@ -111,24 +111,83 @@
 tyDocument,%0A
+    MapEntityDocumentOdt,%0A    MapEntityDocumentWeasyprint,%0A
     Document
@@ -1024,24 +1024,87 @@
 yDocument',%0A
+    'MapEntityDocumentOdt',%0A    'MapEntityDocumentWeasyprint',%0A
     'Documen

add MapentityDocument{Odt, Weasyprint}