We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 965effe commit ced36b1Copy full SHA for ced36b1
djangocms_alias/models.py
@@ -168,7 +168,7 @@ def get_name(self, language=None):
168
if version.state == DRAFT:
169
return f"{name} (Not published)"
170
except (ImportError, ModuleNotFoundError, AttributeError):
171
- pass
+ return name # djangocms versioning unreachable for draft check - just return the name
172
return name
173
174
def get_content(self, language=None, show_draft_content=False):
0 commit comments