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-07-21 15:07:41 +0200
commitb3e7789bcd9ec7fc641b26bdd5231f2c8e7fad93 (patch)
treef5b0c7d7b16b9c001643ed8039710b9f70be57a6 /ishtar_common/models.py
parent5499e558a541a0c8740d608dc4446f64ebe774c6 (diff)
downloadIshtar-b3e7789bcd9ec7fc641b26bdd5231f2c8e7fad93.tar.bz2
Ishtar-b3e7789bcd9ec7fc641b26bdd5231f2c8e7fad93.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 9a3eac46a..3f917663c 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -2250,7 +2250,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(