You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.