diff --git a/sigi/settings/base.py b/sigi/settings/base.py index d05abfa..b1a621c 100644 --- a/sigi/settings/base.py +++ b/sigi/settings/base.py @@ -67,7 +67,7 @@ INSTALLED_APPS = ( 'sigi.apps.ocorrencias', 'sigi.apps.financeiro', 'sigi.apps.diagnosticos', - + # Integração com Saberes (moodle) 'sigi.apps.mdl', 'sigi.apps.saberes', @@ -131,10 +131,6 @@ SESSION_EXPIRE_AT_BROWSER_CLOSE = True # Using pytest directly (without a test runner) TEST_RUNNER = None -# Validate arguments in django-dynamic-fixture -# http://django-dynamic-fixture.readthedocs.org/en/latest/more.html?highlight=ddf_validate_args#validate-arguments-new-in-1-5-0 -DDF_VALIDATE_ARGS = True - from easy_thumbnails.conf import Settings as thumbnail_settings THUMBNAIL_PROCESSORS = ( 'image_cropping.thumbnail_processors.crop_corners', @@ -142,7 +138,7 @@ THUMBNAIL_PROCESSORS = ( THUMBNAIL_ALIASES = { '': { - 'small': {'size': (300, 225), 'crop': True,}, + 'small': {'size': (300, 225), 'crop': True, }, }, } IMAGE_CROPPING_SIZE_WARNING = True diff --git a/sigi/settings/test.py b/sigi/settings/test.py index b6c7dec..7cb2e70 100644 --- a/sigi/settings/test.py +++ b/sigi/settings/test.py @@ -14,3 +14,8 @@ DATABASES = { 'PORT': '5432', } } + +# Validate arguments in django-dynamic-fixture +# http://django-dynamic-fixture.readthedocs.org/en/latest/more.html?highlight=ddf_validate_args#validate-arguments-new-in-1-5-0 +DDF_VALIDATE_ARGS = True +DDF_DEBUG_MODE = True