X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/42c42960c2dce4500f12dd14a68a10ed4f06abf5..9e258f6b33fac6ab2068f1769d39e99a14ceb42a:/edumed/settings.d/50-contrib.py diff --git a/edumed/settings.d/50-contrib.py b/edumed/settings.d/50-contrib.py index 64770e8..9306de1 100644 --- a/edumed/settings.d/50-contrib.py +++ b/edumed/settings.d/50-contrib.py @@ -1,5 +1,5 @@ CAS_SERVER_URL = 'http://logowanie.nowoczesnapolska.org.pl/cas/' -CAS_VERSION = '1' +CAS_VERSION = '3' SPONSORS_THUMB_WIDTH = 100 SPONSORS_THUMB_HEIGHT = 56 @@ -11,3 +11,6 @@ PYBB_ENABLE_ANONYMOUS_POST = False PYBB_DEFAULT_TITLE = u'Forum' PYBB_DEFAULT_TIME_ZONE = 1 PYBB_PERMISSION_HANDLER = 'edumed.forum.ForumPermissionHandler' + +THUMBNAIL_ENGINE = 'sorl.thumbnail.engines.convert_engine.Engine' +THUMBNAIL_CONVERT = 'convert -density 300 -background white -alpha off'