djangosnippets.org: Latest snippets posted by nickma_athttps://djangosnippets.org/users/nickma_at/2011-08-09T03:52:25.565044-05:00nickma_atWhitelisted overwriting FileSystemStorage
2011-08-09T03:52:25.565044-05:00nickma_athttps://djangosnippets.org/snippets/2510/<p><strong>Description</strong>
A filestorage system that </p>
<ul>
<li>
<p>is whitlisted,</p>
</li>
<li>
<p>changes the file name and targeting directory to put the file in - with respect to (runtime) instance information. </p>
</li>
<li>
<p>replaces files if they exists with the same name.
Kudos to <a href="http://djangosnippets.org/users/jedie/">jedie</a> - http://djangosnippets.org/snippets/977/</p>
</li>
</ul>
Freely redistributable