Minor optimization: only call patterns at the end of winer.FeedView.feed_patterns.
[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