### Navigation

- index
- modules |
- next |
- previous |
- django-mptt 0.6.0 documentation »
- Autogenerated documentation »
- `mptt` »

# `mptt.admin`

class `mptt.admin.``MPTTChangeList`(request, model, list_display, list_display_links, list_filter, date_hierarchy, search_fields, list_select_related, list_per_page, list_max_show_all, list_editable, model_admin)
  `get_query_set`(request)

class `mptt.admin.``MPTTModelAdmin`(model, admin_site)

  A basic admin class that displays tree items according to their position in the tree. No extra editing functionality beyond what Django admin normally offers.

  `change_list_template` = u'admin/mptt_change_list.html'
  `form`

    alias of `MPTTAdminForm`

  `formfield_for_foreignkey`(db_field, request, **kwargs)
  `get_changelist`(request, **kwargs)

    Returns the ChangeList class for use on the changelist page.

  `media`

class `mptt.admin.``MPTTAdminForm`(*args, **kwargs)

  A form which validates that the chosen parent for a node isn’t one of its descendants.

  `base_fields` = {}
  `clean`()
  `declared_fields` = {}
  `media`

### Navigation

- index
- modules |
- next |
- previous |
- django-mptt 0.6.0 documentation »
- Autogenerated documentation »
- `mptt` »