jazkarta / obsolete-edx-sga

OBSOLETE - moved to https://github.com/mitodl/edx-sga
1 stars 119 forks source link

Look into using Django's file storage #4

Closed chrisrossi closed 10 years ago

chrisrossi commented 10 years ago

Apparently Django already has a mechanism for storing file uploads. It might make more sense to reuse that rather than reinvent the wheel with the blobstorage thing. See what's up with Django's file storage and if it makes sense, go ahead and make the switch.

Carson says: "Any chance we can use the stuff already built into django storage for this instead of adding a new setting? I'm thinking DEFAULT_FILE_STORAGE like the django comments settings uses. That way we could use existing backends like file, s3, or DB. I also realized I should have thought of this before you did this work, but it may save you some time implementing other classes for it."