> It's built in.
>
> http://docs.djangoproject.com/en/dev/topics/http/file-uploads/
>
> http://docs.djangoproject.com/en/dev/ref/files/storage/
>
> Between those two docs, you should be able to do everything you want. AFAIK,
> no file uploads are stored directly in the database, though there is a model
> behind it, it stores the path,.
>
I know about those, and they don't do what I'm looking for. At least, not as I understand them.
I'm looking at the next architectural level up. For example, creating an md5 or sha1 hash directory under a file root, where file uploads can be organized in yyyy/mm/dd folders. And providing the linkage from the user account in the SQL db, to their binary file directory.
I was hoping someone else had packaged this kind of support for binary-objects-stored-in-files in a nice and purty application. :-)
I'll chew on this more. Maybe a custom storage system backend is the way to go. (http://tinyurl.com/yjh7st4)
John
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment