Add custom thumbnailer

This commit is contained in:
Raphael Michel
2018-03-20 09:33:15 +01:00
parent 840cee206a
commit e7458f3032
16 changed files with 158 additions and 25 deletions

View File

@@ -225,6 +225,7 @@ INSTALLED_APPS = [
'pretix.presale',
'pretix.multidomain',
'pretix.api',
'pretix.helpers',
'rest_framework',
'django_filters',
'compressor',
@@ -239,7 +240,6 @@ INSTALLED_APPS = [
'pretix.plugins.reports',
'pretix.plugins.checkinlists',
'pretix.plugins.pretixdroid',
'easy_thumbnails',
'django_markup',
'django_otp',
'django_otp.plugins.otp_totp',
@@ -463,13 +463,6 @@ MESSAGE_TAGS = {
}
MESSAGE_STORAGE = 'django.contrib.messages.storage.session.SessionStorage'
THUMBNAIL_ALIASES = {
'': {
'productlist': {'size': (60, 60), 'crop': True},
'logo': {'size': (5000, 120), 'crop': False},
},
}
loglevel = 'DEBUG' if DEBUG else 'INFO'
LOGGING = {