.
This commit is contained in:
@@ -39,6 +39,7 @@ INSTALLED_APPS = [
|
|||||||
"django_tables2",
|
"django_tables2",
|
||||||
"django_filters",
|
"django_filters",
|
||||||
"easy_thumbnails",
|
"easy_thumbnails",
|
||||||
|
"easy_thumbnails",
|
||||||
"filer",
|
"filer",
|
||||||
"mptt",
|
"mptt",
|
||||||
"sortedm2m",
|
"sortedm2m",
|
||||||
@@ -203,6 +204,8 @@ THUMBNAIL_SOURCE_GENERATORS = ('easy_thumbnails.source_generators.pil_image', 'h
|
|||||||
DBBACKUP_STORAGE = 'django.core.files.storage.FileSystemStorage'
|
DBBACKUP_STORAGE = 'django.core.files.storage.FileSystemStorage'
|
||||||
DBBACKUP_STORAGE_OPTIONS = {'location': os.path.join(BASE_DIR, '../backups')}
|
DBBACKUP_STORAGE_OPTIONS = {'location': os.path.join(BASE_DIR, '../backups')}
|
||||||
|
|
||||||
|
DEFAULT_FILE_STORAGE = 'django_hashedfilenamestorage.storage.HashedFilenameFileSystemStorage'
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from .settings_local import *
|
from .settings_local import *
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|||||||
@@ -16,3 +16,4 @@ pytesseract
|
|||||||
opencv-python
|
opencv-python
|
||||||
pydicom
|
pydicom
|
||||||
django-dbbackup
|
django-dbbackup
|
||||||
|
django-hashedfilenamestorage
|
||||||
Reference in New Issue
Block a user