Closed iwalucas closed 5 years ago
Found out the problem, the collapse.js is not loading.... found a couple fixes:
add
class Media:
js = ('/static/admin/js/collapse.js',)
or add a fieldsets with the same structure of the tab
turns out the problem was that I have double inheritance with tabbedadmin, so I changed the order of inheritance and it solved itself out
In a django fieldset, if you define the
collapse
class, it would enable a hide/show functionality. But that doesnt happen with the tabs.Here is the example of one of my tabs:
The html does get the collapse:
But it doesn have the hide/show functionality