views:

31

answers:

2

Collecting the admin-media files from different django application is one of the not-so-good things about django. Usually you have to file copying from the module distributions to your directory every time one you install/update/remove a module.

When you are using several django application that do have their own media/admin files, some of them even overriding others you need a proper way of collecting them and building a correct media directory.

A proper solution should be able to recreate the directory by collecting the required files from the modules in a specific order, allowing them to override each other.

Useful links

What solution do you have for this issue?

A: 

I just stack multiple Alias directives one on top of each other, grafting the media to the appropriate place on the tree.

Ignacio Vazquez-Abrams
A: 

For the moment the best solution I found was to use http://djangosnippets.org/snippets/1068/ but I'm still looking for better approaches.

Sorin Sbarnea