Made the embed widget javascript work by overloading the dismissRelatedLookupPopup...
[philo.git] / philo / admin / base.py
index 3a9458e..81916ab 100644 (file)
@@ -136,11 +136,7 @@ class EntityAdmin(admin.ModelAdmin):
                return db_field.formfield(**kwargs)
 
 
                return db_field.formfield(**kwargs)
 
 
-class TreeAdmin(MPTTModelAdmin):
-       pass
-
-
-class TreeEntityAdmin(EntityAdmin, TreeAdmin):
+class TreeEntityAdmin(EntityAdmin, MPTTModelAdmin):
        pass
 
 
        pass