summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-25 14:08:36 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-25 14:08:36 +0200
commit8afe0cd9b3e515b121cdf0e1f95850d28b9e84a7 (patch)
treea55dce3c298bacfdc8eaed809c08b20108d7e968 /archaeological_operations/forms.py
parent92cd2721bc4e86812fe4028b1fb320bfe3157332 (diff)
parent99b1467d855045f3b2052dc69f08d054bb38bbfd (diff)
downloadIshtar-8afe0cd9b3e515b121cdf0e1f95850d28b9e84a7.tar.bz2
Ishtar-8afe0cd9b3e515b121cdf0e1f95850d28b9e84a7.zip
Merge branch 'master' into v0.9
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index d2303a43b..d524fdbc5 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -841,8 +841,8 @@ class OperationFormGeneral(forms.Form):
if 'pk' in cleaned_data and cleaned_data['pk']:
ops = ops.exclude(pk=cleaned_data['pk'])
if ops.count():
- msg = _(u"Ce code Patriarche a déjà été affecté à une "
- u"autre opération")
+ msg = u"Ce code Patriarche a déjà été affecté à une "\
+ u"autre opération"
raise forms.ValidationError(msg)
# manage unique operation ID
year = self.cleaned_data.get("year")