10.4. Admin classes

10.4.1. ItemEditor

class feincms.admin.item_editor.ItemEditor(*args, **kwargs)

This ModelAdmin class needs an attribute:

show_on_top:
A list of fields which should be displayed at the top of the form. This does not need to (and should not) include template
ItemEditor.change_view(request, object_id, extra_context=None)
ItemEditor.media
ItemEditor.render_item_editor(request, object, context)

10.4.2. TreeEditor

class feincms.admin.tree_editor.TreeEditor(*args, **kwargs)
TreeEditor.actions_column(page)
TreeEditor.changelist_view(request, extra_context=None, *args, **kwargs)

Handle the changelist view, the django view for the model instances change list/actions page.

TreeEditor.indented_short_title(item)

Generate a short title for a page, indent it depending on the page’s depth in the hierarchy.

TreeEditor.media

10.4.3. SplitPaneEditor

class feincms.admin.splitpane_editor.SplitPaneEditor(model, admin_site)
SplitPaneEditor.changelist_view(request, extra_context=None)
SplitPaneEditor.delayed_tree_loading()
SplitPaneEditor.media

Table Of Contents

Previous topic

10.3. Media library

Next topic

10.5. Content types

This Page