forked from github/pelican
Fix warning re: future dates setting. Fixes #3184
This commit is contained in:
parent
777a708ef7
commit
fab6e1a2c5
1 changed files with 1 additions and 1 deletions
|
|
@ -584,7 +584,7 @@ def configure_settings(settings):
|
|||
# check content caching layer and warn of incompatibilities
|
||||
if settings.get('CACHE_CONTENT', False) and \
|
||||
settings.get('CONTENT_CACHING_LAYER', '') == 'generator' and \
|
||||
settings.get('WITH_FUTURE_DATES', False):
|
||||
not settings.get('WITH_FUTURE_DATES', True):
|
||||
logger.warning(
|
||||
"WITH_FUTURE_DATES conflicts with CONTENT_CACHING_LAYER "
|
||||
"set to 'generator', use 'reader' layer instead")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue