Skip to main content

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

Project description

Travis Status

Coverage Status

Downloads

Version

Violations

Requirements Status

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.

Requirements

The package is tested with Django 1.4 - 1.7alpha, and Mptt 0.6.0. Also with Python 2.6, 2.7 and 3.3.

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

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.8 (februari 2 2014)

  • Issue 17: handle error when moving node

  • Issue 18: do not use inline javascript

  • Issue 19: support Django 1.7 alpha

0.1.7 (january 3 2014)

  • Issue 16: moving a node fails if the node id is a uuid

0.1.6 (october 10 2013)

  • Issue 8: removing node from the tree causes the tree view to crash

0.1.5 (august 27 2013)

  • Issue 6: save the tree state

  • Issue 7: do not handle the right mouse click

0.1.4 (august 8 2013)

  • Issue 5: Support for uuid ids

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

Bitdeli Badge

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

Uploaded Source

Built Distributions

django_mptt_admin-0.1.8-py2.py3-none-any.whl (94.6 kB view details)

Uploaded Python 2 Python 3

django_mptt_admin-0.1.8-py2.7.egg (427.9 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-mptt-admin-0.1.8.tar.gz
Algorithm Hash digest
SHA256 747cc93c68b7ea5f308972c8ebe7f62a882522a41c2cec8568133743c5015271
MD5 09ca6d628c8b1db0f3e5e800ff5ee2a1
BLAKE2b-256 6a0e5c113e92681a1b8198904100b7c714f4a6adc54ce42a373b4374195de4ca

See more details on using hashes here.

File details

Details for the file django_mptt_admin-0.1.8-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_mptt_admin-0.1.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 887739d3e2242b3f76096a72fe00be604c36fd95bd321800843c69dc333b5fcd
MD5 f91e89b7852d0c3aa2bbe1f94d402ab4
BLAKE2b-256 621d7cce433b2fa0831c9de499963f4268855e3a6285e8bceaef7e5225091708

See more details on using hashes here.

File details

Details for the file django_mptt_admin-0.1.8-py2.7.egg.

File metadata

File hashes

Hashes for django_mptt_admin-0.1.8-py2.7.egg
Algorithm Hash digest
SHA256 8688d3d1fee8be24224428c872392e577fcd0a475fb32643e64278391ea2a33b
MD5 c21605359be61dddb03ee18d027f8411
BLAKE2b-256 f9d2831f5d4f112f44e05ec87d148d136bfcfcb205cd03a268ee2fd3ecfc7739

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