git.ithinksw.org
/
philo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92e6313
)
Added collapse classes to attribute and relationship inlines on entities.
author
melinath
<stephen.r.burrows@gmail.com>
Tue, 17 Aug 2010 17:09:37 +0000
(13:09 -0400)
committer
melinath
<stephen.r.burrows@gmail.com>
Tue, 17 Aug 2010 17:09:37 +0000
(13:09 -0400)
admin/base.py
patch
|
blob
|
history
diff --git
a/admin/base.py
b/admin/base.py
index
457db17
..
f8485d2
100644
(file)
--- a/
admin/base.py
+++ b/
admin/base.py
@@
-13,6
+13,7
@@
class AttributeInline(generic.GenericTabularInline):
extra = 1
template = 'admin/philo/edit_inline/tabular_collapse.html'
allow_add = True
+ classes = COLLAPSE_CLASSES
class RelationshipInline(generic.GenericTabularInline):
@@
-22,6
+23,7
@@
class RelationshipInline(generic.GenericTabularInline):
extra = 1
template = 'admin/philo/edit_inline/tabular_collapse.html'
allow_add = True
+ classes = COLLAPSE_CLASSES
class EntityAdmin(admin.ModelAdmin):