8000 chore: Backport the delete translations fix for #8111 to django CMS 4.1 by fsbraun · Pull Request #8112 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content

chore: Backport the delete translations fix for #8111 to django CMS 4.1 #8112

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 5 commits into from
Jan 22, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
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
fix typo
  • Loading branch information
fsbraun committed Jan 16, 2025
commit b7435cd0e6988b61cef5bb926ef5563381b443d4
2 changes: 1 addition & 1 deletion cms/admin/pageadmin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,7 @@ def delete_view(self, request, object_id, extra_context=None):
page_content = self.get_object(request, object_id=object_id)
page = page_content.page
language = page_content.language
page_contents = PageContent.objects.filter(page=page, langauge=language)
page_contents = PageContent.objects.filter(page=page, language=language)
page_url = page.urls.get(language=page_content.language)
request_language = get_site_language_from_request(request, site_id=page.node.site_id)

Expand Down
Loading
0