Skip to content

Commit 3892d41

Browse files
authored
Update djangocms_alias_tags.py (#200)
adding use_cache to static_alias to allow caching
1 parent 0dd5ed6 commit 3892d41

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

djangocms_alias/templatetags/djangocms_alias_tags.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ def render_tag(self, context, static_code, extra_bits, nodelist=None):
176176
placeholder=placeholder,
177177
context=context,
178178
nodelist=nodelist,
179+
use_cache=True,
179180
)
180181
return content
181182
return ''

0 commit comments

Comments
 (0)