|
|
|
|
@ -44,6 +44,7 @@ INSTALLED_APPS = [ |
|
|
|
|
] + [ |
|
|
|
|
'anymail', |
|
|
|
|
'active_link', |
|
|
|
|
'compressor', |
|
|
|
|
'django_filters', |
|
|
|
|
'polymorphic_tree', |
|
|
|
|
'polymorphic', |
|
|
|
|
@ -161,6 +162,11 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'static') |
|
|
|
|
STATICFILES_DIRS = [ |
|
|
|
|
os.path.join(BASE_DIR, 'web/build'), |
|
|
|
|
] |
|
|
|
|
STATICFILES_FINDERS = [ |
|
|
|
|
'django.contrib.staticfiles.finders.FileSystemFinder', |
|
|
|
|
'django.contrib.staticfiles.finders.AppDirectoriesFinder', |
|
|
|
|
'compressor.finders.CompressorFinder', |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
MEDIA_URL = '/media/' |
|
|
|
|
MEDIA_ROOT = os.path.join(BASE_DIR, 'media') |
|
|
|
|
@ -272,6 +278,8 @@ INSTAGRAM_RESULTS_PATH = 'media/instagram/results/' |
|
|
|
|
|
|
|
|
|
DATA_UPLOAD_MAX_MEMORY_SIZE = 20242880 |
|
|
|
|
|
|
|
|
|
COMPRESS_ENABLED = True |
|
|
|
|
|
|
|
|
|
try: |
|
|
|
|
from .local_settings import * |
|
|
|
|
except ImportError: |
|
|
|
|
|