Smart settings refactor

This commit is contained in:
Roberto Rosario
2015-06-22 21:04:06 -04:00
parent 6dcb984aca
commit 78198f3398
55 changed files with 370 additions and 243 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
from django.utils.module_loading import import_string
from .settings import STORAGE_BACKEND
from .settings import setting_storage_backend
storage_backend = import_string(STORAGE_BACKEND)()
storage_backend = import_string(setting_storage_backend.value)()