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.5, 1.4.3 and 1.5c1, 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.tar.gz (54.7 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-mptt-admin-0.1.tar.gz
Algorithm Hash digest
SHA256 98cfc62b8519912eaa324d15231045f58ffa2ed5a07b695f13f073449f85bd72
MD5 d6546fcb13523e37d72d77267505e721
BLAKE2b-256 83768e3fdeb39406611b8054db5db05f284b9b6994562c58722b3e40c1aceff9

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