Putting Thumbnail config into the apps scope

This commit is contained in:
reverend 2020-09-10 18:37:35 +02:00
parent 89bc00e5da
commit 9c70da0b77

View File

@ -1,2 +1,11 @@
#!/usr/bin/env python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from django.conf import settings
settings.THUMBNAIL_ALIASES = {
'': {
'thumbnail': {'size': (300, 200), 'crop': True},
'hero': {'size': (700, 466), 'crop': True},
'large': {'size': (1920, 1920), 'crop': False},
},
}