Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/3.6.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreJunod committed Mar 12, 2024
2 parents 7b07deb + 742a3d8 commit 5a6bcf0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ def update_sectionparagraph(apps, schema_editor):

# Update sections containing "div" or "class" or "table"
sections_with_keywords = (
SectionParagraph.objects.filter(content__contains="div")
| SectionParagraph.objects.filter(content__contains="class")
| SectionParagraph.objects.filter(content__contains="table")
SectionParagraph.objects.filter(content__contains="<div")
| SectionParagraph.objects.filter(content__contains="class=")
| SectionParagraph.objects.filter(content__contains="<table")
)

for section in sections_with_keywords:
Expand Down

0 comments on commit 5a6bcf0

Please sign in to comment.