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
commit05eeada23bd7065bf750e88c4c3125676e9ace92 (patch)
treecb99bb453ae23db575810471c660dda06a98bd77 /example_project
parent96dab3e5402589d9537df776bbcd7df816ae54f2 (diff)
downloadIshtar-05eeada23bd7065bf750e88c4c3125676e9ace92.tar.bz2
Ishtar-05eeada23bd7065bf750e88c4c3125676e9ace92.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