8000 fix: Allow lazy wizard initialization by fsbraun · Pull Request #8265 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content

fix: Allow lazy wizard initialization #8265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 28, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations 8000
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update cms/cms_toolbars.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
  • Loading branch information
fsbraun and sourcery-ai[bot] authored Jun 28, 2025
commit ea76870d997b84638570063ce51e0fc9dd98c6df
2 changes: 1 addition & 1 deletion cms/cms_toolbars.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def add_wizard_button(self):

user = self.request.user
page_pk = self.page.pk if self.page else ""
disabled = len(list(entry_choices(user, self.page))) == 0
disabled = not list(entry_choices(user, self.page))

url = '{url}?page={page}&language={lang}&edit'.format(
url=admin_reverse("cms_wizard_create"),
Expand Down
Loading
0