summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2025-03-26 19:09:21 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-10-15 19:32:59 +0200
commite3b316e78f0ead4eb44d9827a8dd8591907ba69a (patch)
tree853b8be47ddeb056596eb48a49aee04960b01075 /ishtar_common/models.py
parent7efe436fd9b794ed585a675bf0cbaf9ff4c8464d (diff)
downloadIshtar-e3b316e78f0ead4eb44d9827a8dd8591907ba69a.tar.bz2
Ishtar-e3b316e78f0ead4eb44d9827a8dd8591907ba69a.zip
♻️ fiona deprecation: fiona.crs -> fiona.crs.CRS - BeautifulSoup deprecation: find_all(text=...) -> find_all(string=...)
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 06aa2a67c..a26eab5c9 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -2260,7 +2260,7 @@ class DocumentTemplate(models.Model):
new_content = []
for content in base_content:
content = copy.copy(content)
- for text in content.find_all(text=re.compile("items.0")):
+ for text in content.find_all(string=re.compile("items.0")):
fixed_text = text.replace("items.0", replace_str)
text.replace_with(fixed_text)
for image in content.find_all(