summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-04-17 18:52:38 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2015-04-17 18:52:38 +0200
commit00f6c7380ed4ec9c578cca5dd93cae0b92c57b10 (patch)
treedd7a39a246862c2154e17f923f528963e010fa12 /ishtar_common/models.py
parent398593a6b1273667a4f62dc6bcdab2ce83c4d5a7 (diff)
downloadIshtar-00f6c7380ed4ec9c578cca5dd93cae0b92c57b10.tar.bz2
Ishtar-00f6c7380ed4ec9c578cca5dd93cae0b92c57b10.zip
ooo_replace became oook_replace!
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index c81d291be..a11eed783 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -48,7 +48,7 @@ from django.contrib import admin
from simple_history.models import HistoricalRecords as BaseHistoricalRecords
-from ooo_replace import ooo_replace
+from oook_replace import oook_replace
from ishtar_common.model_merging import merge_model_objects
from ishtar_common.utils import get_cache
@@ -861,7 +861,7 @@ class DocumentTemplate(models.Model):
slugify(self.name.replace(' ', '_').lower()) + u'-' +\
datetime.date.today().strftime('%Y-%m-%d') +\
u"." + self.template.name.split('.')[-1]
- missing = ooo_replace(self.template, output_name, c_object.get_values())
+ missing = oook_replace(self.template, output_name, c_object.get_values())
return output_name
class Department(models.Model):