Update the storage app to assign itself and icon and register with the app registry

This commit is contained in:
Roberto Rosario
2012-09-08 03:25:49 -04:00
parent fd54e9c9d9
commit 9ef2bfc165
10 changed files with 118 additions and 106 deletions
+4 -3
View File
@@ -2,12 +2,13 @@ import os
from django.core.files.storage import FileSystemStorage
from storage.conf.settings import FILESTORAGE_LOCATION
from storage import FILESTORAGE_LOCATION
class FileBasedStorage(FileSystemStorage):
'''Simple wrapper for the stock Django FileSystemStorage class
'''
"""
Simple wrapper for the stock Django FileSystemStorage class
"""
separator = os.path.sep
def __init__(self, *args, **kwargs):