Add: sorl thumbnail package
This commit is contained in:
parent
d22093d1d1
commit
0a0f3350bf
1 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,7 @@ INSTALLED_APPS = [
|
|||
# Pip module libraries
|
||||
'whitenoise.runserver_nostatic',
|
||||
'rest_framework',
|
||||
'sorl.thumbnail',
|
||||
|
||||
'django_cleanup.apps.CleanupConfig',
|
||||
|
||||
|
@ -177,6 +178,7 @@ STATICFILES_DIRS = (
|
|||
os.path.join(BASE_DIR, 'static'),
|
||||
)
|
||||
|
||||
#STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"
|
||||
|
||||
MEDIA_URL = '/media/'
|
||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
||||
|
|
Loading…
Reference in a new issue