Compare commits
2 Commits
f7dab77229
...
4c43f87560
Author | SHA1 | Date | |
---|---|---|---|
4c43f87560 | |||
c8399b9ce4 |
@ -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},
|
||||||
},
|
},
|
||||||
|
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user