git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented the solution proposed to #130 - removed TreeModel and made a SlugTreeEnti...
[philo.git]
/
philo
/
admin
/
base.py
diff --git
a/philo/admin/base.py
b/philo/admin/base.py
index
3a9458e
..
81916ab
100644
(file)
--- a/
philo/admin/base.py
+++ b/
philo/admin/base.py
@@
-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