From d644025b4fd5c47f7907ca1ed2efcb54a591c136 Mon Sep 17 00:00:00 2001 From: Paul Ciano Date: Thu, 19 Sep 2019 14:58:49 -0700 Subject: [PATCH] Fix PAGINATION_PATTERNS example. --- RELEASE.md | 3 +++ docs/settings.rst | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 RELEASE.md diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 00000000..6ea71f10 --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,3 @@ +Release type: minor + +Fix PAGINATION_PATTERNS example. \ No newline at end of file diff --git a/docs/settings.rst b/docs/settings.rst index 7085db84..970a4ac6 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -997,7 +997,7 @@ subsequent pages at ``.../page/2/`` etc, you could set ``PAGINATION_PATTERNS`` as follows:: PAGINATION_PATTERNS = ( - (1, '{url}', '{save_as}`, + (1, '{url}', '{save_as}'), (2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'), ) @@ -1238,7 +1238,7 @@ ignored. Simply populate the list with the log messages you want to hide, and they will be filtered out. For example:: - + import logging LOG_FILTER = [(logging.WARN, 'TAG_SAVE_AS is set to False')]