Skip to main content

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

Project description

https://secure.travis-ci.org/leukeleu/django-mptt-admin.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.

Requirements

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

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)

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.1.tar.gz (54.9 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-mptt-admin-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b52e60071ce88e400e8f9149c972581bbb8380d68db3fb22cb9fefea6b3b6381
MD5 2e2409cf1ae916d123fff8f0b68bb6fe
BLAKE2b-256 c3127fd3ae180dc4cd9180abc02aa89c3824f3380c71a60f1f81d18f66240480

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