Add from __future__ import unicode_literals, issue #37
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
"""Configuration options for the storage app"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import os
|
||||
|
||||
from django.conf import settings
|
||||
@@ -6,9 +7,9 @@ from django.conf import settings
|
||||
from smart_settings.api import register_settings
|
||||
|
||||
register_settings(
|
||||
namespace=u'storage',
|
||||
module=u'storage.settings',
|
||||
namespace='storage',
|
||||
module='storage.settings',
|
||||
settings=[
|
||||
{'name': u'FILESTORAGE_LOCATION', 'global_name': u'STORAGE_FILESTORAGE_LOCATION', 'default': os.path.join(settings.MEDIA_ROOT, u'document_storage'), 'exists': True},
|
||||
{'name': 'FILESTORAGE_LOCATION', 'global_name': 'STORAGE_FILESTORAGE_LOCATION', 'default': os.path.join(settings.MEDIA_ROOT, 'document_storage'), 'exists': True},
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user