Collapsable Inline Objects

3 views
Skip to first unread message

Jurie-Jan Botha

unread,
Mar 18, 2009, 12:55:37 PM3/18/09
to Django developers
I've started working on this and I was wondering if this would be a
feature that would be nice to add to django.admin. If not, say -1, if
you like the idea please keep readin and comment.

I've added a new option to the InlineAdmin class called 'collapse'. If
this is set to 'True' for the stacked option each related item in the
inline list will be collapsable. If indicated as 'True' for the
tabular option the whole table will be collapsable.

The other option could be have a 'item_classes' attribute that could
indicate extra class to attach to each item.

Which do you think would work best?

Also, where can I get the best JS snippets for including in the Django
core JS libraries? Right now I just want a function I can call to look
up tags by their class names. I believe that this would be a handy
addition to the core.js.
Reply all
Reply to author
Forward
0 new messages