from mapentity import views as mapentity_views

from .models import DummyModel


class DummyList(mapentity_views.MapEntityList):
    model = DummyModel


class DummyLayer(mapentity_views.MapEntityLayer):
    model = DummyModel


class DummyJsonList(mapentity_views.MapEntityJsonList, DummyList):
    pass


class DummyFormat(mapentity_views.MapEntityFormat):
    model = DummyModel


class DummyDocument(mapentity_views.MapEntityDocument):
    model = DummyModel


class DummyDetail(mapentity_views.MapEntityDetail):
    model = DummyModel


class DummyCreate(mapentity_views.MapEntityCreate):
    model = DummyModel


class DummyUpdate(mapentity_views.MapEntityUpdate):
    model = DummyModel


class DummyDelete(mapentity_views.MapEntityDelete):
    model = DummyModel

@@ -396,16 +396,19 @@
 Document
+Odt
 (mapenti
@@ -433,16 +433,120 @@
 Document
+Odt):%0A    model = DummyModel%0A%0A%0Aclass DummyDocumentWeasyprint(mapentity_views.MapEntityDocumentWeasyprint
 ):%0A    m

replace DummyDocument by DummyDocument{Odt, Weasyprint}