summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-02-27 15:47:32 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-02-27 15:47:32 +0100
commitd7e1978d8f5358652080f789303f59c3ddf07047 (patch)
treecb99bb453ae23db575810471c660dda06a98bd77 /example_project
parente8880be9e7bd2183766178148083c85c3ee9d9a4 (diff)
downloadIshtar-d7e1978d8f5358652080f789303f59c3ddf07047.tar.bz2
Ishtar-d7e1978d8f5358652080f789303f59c3ddf07047.zip
Allow no resizing of images (by explicit parameter in settings)
Diffstat (limited to 'example_project')
-rw-r--r--example_project/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index 7135f62f9..96eabacb9 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -15,7 +15,7 @@ TEST_VIEWS = True
if "test" in sys.argv:
sys.path.insert(0, '..')
-IMAGE_MAX_SIZE = (1024, 768)
+IMAGE_MAX_SIZE = (1024, 768) # put None if no resizing
THUMB_MAX_SIZE = (300, 300)
CACHE_SMALLTIMEOUT = 60