Skip to main content

Django-mptt-admin provides a nice Django Admin interface for Mptt models

Project description

Travis Status

Coverage Status

https://pypip.in/d/django-mptt-admin/badge.png https://pypip.in/v/django-mptt-admin/badge.png

Django Mptt Admin

Django-mptt-admin provides a nice Django Admin interface for Mptt models. The source is available on https://github.com/leukeleu/django-mptt-admin. It uses the jqTree library.

Screenshot

Requirements

The package is tested with Django 1.4.5 and 1.5.1, and Mptt 0.5.5. Also with Python 2.6 and 2.7.

  • This version is not compatible with Django 1.3. Please use django-mptt-admin 0.1.2 for Django 1.3 support.

  • There is experimental support for Python 3. This works with Django 1.5+ and with the update-things branch of django-mptt.

Installation

Install the package:

$ pip install django_mptt_admin

Add django_mptt_admin to your installed apps in settings.py.

INSTALLED_APPS = (
    ..
    'django_mptt_admin',
)

Use the DjangoMpttAdmin class in admin.py:

from django.contrib import admin
from django_mptt_admin.admin import DjangoMpttAdmin
from models import Country

class CountryAdmin(DjangoMpttAdmin):
    pass

admin.site.register(Country, CountryAdmin)

Changelog

0.1.3 (may 2 2013)

This version drops support for Django 1.3.7

  • Issue 2: Posting a screenshot in the readme would be really useful (thanks to Andy Baker)

  • Issue 3: Use static templatetag for CDN-compatible file paths (thanks to Alex Holmes)

  • Added Coveralls support

0.1.2 (march 12 2013)

  • Issue 1: Grid view doesn’t link correctly to object change pages (thanks to Kris Fields)

0.1.1 (februari 25 2013)

  • Added experimental Python 3 support

0.1 (februari 7 2013)

  • Initial version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-mptt-admin-0.1.3.tar.gz (55.8 kB view details)

Uploaded Source

File details

Details for the file django-mptt-admin-0.1.3.tar.gz.

File metadata

File hashes

Hashes for django-mptt-admin-0.1.3.tar.gz
Algorithm Hash digest
SHA256 9e5112497f02956039a6ddeffa8bb2ebd61c7e6286f829ad2994e7039e93b01d
MD5 b4ff4dfcd72a91157184d11c8d6461cb
BLAKE2b-256 5820c62da5369af693e972c7d6e35e70647d537ac0a90e23518a51fee89c4bce

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page