djangosnippets.org: Latest snippets posted by jtiaihttps://djangosnippets.org/users/jtiai/2009-05-17T14:42:35.413665-05:00jtiaiCopy media files to central location for easier sharing
2009-05-17T14:42:35.413665-05:00jtiaihttps://djangosnippets.org/snippets/1510/<p>I was in need to have pluggable components that all have more or less some media files. I didn't want to pollute my config with dozens of media paths so I wrote this custom command that copies contents <code><appdir>/app_media</code> to your <code>MEDIA_ROOT/<appname></code> path.</p>
<p>In template you will refer your media …</p>
Freely redistributable