Thumbnail products
This commit is contained in:
1 parent
31cffdb24b
commit
6560d3e89b
3 files changed
+12
-3
No files matched your search
@@ -86,6 +86,7 @@ INSTALLED_APPS = (
|
||||
'bootstrapform',
|
||||
'django_extensions',
|
||||
'rest_framework',
|
||||
'easy_thumbnails',
|
||||
)
|
||||
LOCAL_APPS = (
|
||||
'main',
|
||||
@@ -100,6 +101,13 @@ SESSION_EXPIRE_AT_BROWSER_CLOSE = True
|
||||
BBS_SALDO_MAX = 600
|
||||
BBS_LIMIT_DEPOSITS = False
|
||||
|
||||
# Thumbnails
|
||||
THUMBNAIL_ALIASES = {
|
||||
'': {
|
||||
'product': {'size': (64, 64), 'crop': True},
|
||||
},
|
||||
}
|
||||
|
||||
try:
|
||||
from .local_settings import *
|
||||
except ImportError:
|
||||
|
||||
Reference in new issue
Block a user