We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 362c577 commit 4b67b8aCopy full SHA for 4b67b8a
tests/test_templatetags.py
@@ -195,8 +195,8 @@ def test_alias_auto_creation_in_template_site_limited_alias(self):
195
196
def test_no_alias_content_creation_on_view_on_site(self):
197
"""
198
- When a template discovers a static code that doesn't exist in preview or on-site mode,
199
- no alias or category is created
+ Regression test: Ensure that viewing a template with a non-existent static alias code
+ in live (on-site) mode DOES create an Alias, Category, but does NOT create any AliasContent entries.
200
201
alias_template = """{% load djangocms_alias_tags %}{% static_alias "no_creation_code" site %}""" # noqa: E501
202
0 commit comments