Skip to content

Commit e068d41

Browse files
authored
Merge branch 'main' into ngwaf
2 parents dde2e66 + 0969d72 commit e068d41

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

base-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ django-extensions==3.1.4
5252
django-import-export==2.7.1
5353

5454
pypandoc==1.12
55-
panflute==2.3.0
55+
panflute==2.3.1
5656
Unidecode==1.3.8

pages/models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ def purge_fastly_cache(sender, instance, **kwargs):
137137
Requires settings.FASTLY_API_KEY being set
138138
"""
139139
purge_url(f'/{instance.path}')
140+
if not instance.path.endswith('/'):
141+
purge_url(f'/{instance.path}/')
140142

141143

142144
def page_image_path(instance, filename):

0 commit comments

Comments
 (0)