This project is the result of the need for a portable, consistent, flexible and DRY attachment system in a project I’m currently working on. As Django provides an excellent base for this with the ContentTypes framework, and provides a great example for how to implement this in their Comments framework, this proved to be an (almost) trivial task.
Todo
Write a unit test suite, and make it pass!
Warning
Storing files in your database should be used with caution if you have lots of attachments. This might severly degrade your database performance. Storing files in your filesystem (after all, that’s what filesystems do best) are much more efficient performance wise.
As I don’t have access to either a MySQL (yes, I could just install it) or an Oracle database, nor do I have any skills on either databases, database backend support on these needs to be implemented.
If you want to help out, fork django-files on github, implement the backend, and submit a pull request!
Bug fixes are of course also welcome =)