Replace custom 'load_backend' with Django's 'import_string'.

This commit is contained in:
Roberto Rosario
2015-04-07 16:29:43 -04:00
parent 0e3e34bdf1
commit 2044c94893
8 changed files with 15 additions and 26 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
from common.utils import load_backend
from django.utils.module_loading import import_string
from .settings import SHARED_STORAGE
shared_storage_backend = load_backend(SHARED_STORAGE)()
shared_storage_backend = import_string(SHARED_STORAGE)()