Compare commits

...

2 Commits

2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ from django.conf import settings
settings.THUMBNAIL_ALIASES = { settings.THUMBNAIL_ALIASES = {
'': { '': {
'thumbnail': {'size': (300, 200), 'sharpen': True, 'crop': True}, 'thumbnail': {'size': (300, 200), 'sharpen': True, 'crop': True, 'upscale': True},
'hero': {'size': (700, 466), 'sharpen': True, 'crop': True}, 'hero': {'size': (700, 466), 'sharpen': True, 'crop': True},
'large': {'size': (1920, 1920), 'sharpen': True, 'crop': False}, 'large': {'size': (1920, 1920), 'sharpen': True, 'crop': False},
}, },

View File

@ -4,4 +4,5 @@
from django.apps import AppConfig from django.apps import AppConfig
class LostplacesAppConfig(AppConfig): class LostplacesAppConfig(AppConfig):
default_auto_field = 'django.db.models.AutoField'
name = 'lostplaces' name = 'lostplaces'