X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/c9802c5cb6ad16a895cd5434d6f7695d1ae930f7..3d786c6d8c1bd3685ac328c7f4b811c13ea60e1a:/philo/admin/base.py diff --git a/philo/admin/base.py b/philo/admin/base.py index 3a9458e..81916ab 100644 --- a/philo/admin/base.py +++ b/philo/admin/base.py @@ -136,11 +136,7 @@ class EntityAdmin(admin.ModelAdmin): return db_field.formfield(**kwargs) -class TreeAdmin(MPTTModelAdmin): - pass - - -class TreeEntityAdmin(EntityAdmin, TreeAdmin): +class TreeEntityAdmin(EntityAdmin, MPTTModelAdmin): pass