Finally abstract storage to its own app

This commit is contained in:
Roberto Rosario
2011-03-03 21:27:16 -04:00
parent fc87e3a097
commit c58168516a
8 changed files with 33 additions and 7 deletions
+7
View File
@@ -0,0 +1,7 @@
from django.core.files.storage import FileSystemStorage
class FileBasedStorage(FileSystemStorage):
def __init__(self, *args, **kwargs):
super(FileBasedStorage, self).__init__(*args, **kwargs)
self.location='document_storage'