Browse Source

Move DDF config to test settings (and turn DDF debug on)

producao
Marcio Mazza 10 years ago
parent
commit
b4e1949f07
  1. 4
      sigi/settings/base.py
  2. 5
      sigi/settings/test.py

4
sigi/settings/base.py

@ -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',

5
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

Loading…
Cancel
Save