Add from __future__ import unicode_literals, issue #37

This commit is contained in:
Roberto Rosario
2015-01-19 04:06:40 -04:00
parent efbac7300c
commit d59ea3ede2
334 changed files with 2452 additions and 2268 deletions

View File

@@ -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},
]
)