Example: how can a reusable widget library tell that it needs jquery-ui?
Up to now the only way I see is, that the reusable widget library includes jquery-ui
in its assets (static files via Media).
But if you use two or three reusable widget libraries on one page
each widgets loads its own version of jquery-ui.
Loading one js library several times is looking for trouble.
If you just reuse the widget library in a commercial closed source environment,
you can define fixed paths to libraries like jquery, jquery-ui, ...
But this does not work for reuse in the open source world.
I am missing something for a better reuse in the django world here.
Unfortunately I don't see a solution today. But maybe some else does.