Implement GridFS storage user settings
This commit is contained in:
0
apps/storage/conf/__init__.py
Normal file
0
apps/storage/conf/__init__.py
Normal file
6
apps/storage/conf/settings.py
Normal file
6
apps/storage/conf/settings.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.conf import settings
|
||||
|
||||
|
||||
GRIDFS_HOST = getattr(settings, 'STORAGE_GRIDFS_HOST', 'localhost')
|
||||
GRIDFS_PORT = getattr(settings, 'STORAGE_GRIDFS_PORT', 27017)
|
||||
DATABASE_NAME = getattr(settings, 'STORAGE_GRIDFS_DATABASE_NAME', u'document_storage')
|
||||
Reference in New Issue
Block a user