<reponame>matthiask/feincms3-downloads
from content_editor.admin import ContentEditor, ContentEditorInline
from django.contrib import admin
from feincms3 import plugins

from . import models


@admin.register(models.Article)
class ArticleAdmin(ContentEditor):
    inlines = [
        plugins.html.HTMLInline.create(model=models.HTML),
        ContentEditorInline.create(model=models.Download),
    ]

from content_editor.admin import ContentEditor, ContentEditorInline
from django.contrib import admin
from feincms3 import plugins

from . import models


@admin.register(models.Article)
class ArticleAdmin(ContentEditor):
    inlines = [
        plugins.html.HTMLInline.create(model=models.HTML),
        ContentEditorInline.create(model=models.Download),
    ]