2 Commits

Author SHA1 Message Date
4c43f87560 Removing annoying warning since Django update 3.2 2021-10-02 01:54:43 +02:00
c8399b9ce4 #54 Scaling image up while cropping 2021-10-02 01:54:21 +02:00
2 changed files with 2 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ from django.conf import settings
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},
'large': {'size': (1920, 1920), 'sharpen': True, 'crop': False},
},

View File

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