aboutsummaryrefslogtreecommitdiffstats
path: root/servo
diff options
context:
space:
mode:
Diffstat (limited to 'servo')
-rw-r--r--servo/forms/account.py2
-rw-r--r--servo/forms/admin.py2
-rw-r--r--servo/forms/checkin.py2
-rw-r--r--servo/forms/customer.py2
-rw-r--r--servo/forms/devices.py2
-rw-r--r--servo/forms/invoices.py2
-rw-r--r--servo/forms/notes.py2
-rw-r--r--servo/templates/checkin/newindex.html2
8 files changed, 8 insertions, 8 deletions
diff --git a/servo/forms/account.py b/servo/forms/account.py
index 90c88e4..ac31720 100644
--- a/servo/forms/account.py
+++ b/servo/forms/account.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from django import forms
-from django.utils.translation import ugettext as _
+from django.utils.translation import ugettext_lazy as _
from servo.forms.base import BaseForm, BaseModelForm
from servo.models.account import User
diff --git a/servo/forms/admin.py b/servo/forms/admin.py
index 0f5eef1..df99669 100644
--- a/servo/forms/admin.py
+++ b/servo/forms/admin.py
@@ -5,7 +5,7 @@ import io
from django import forms
from django import template
-from django.utils.translation import ugettext as _
+from django.utils.translation import ugettext_lazy as _
from django.contrib.auth.models import Permission
from servo.forms.base import BaseForm, BaseModelForm
diff --git a/servo/forms/checkin.py b/servo/forms/checkin.py
index befcf2c..e2845ac 100644
--- a/servo/forms/checkin.py
+++ b/servo/forms/checkin.py
@@ -8,7 +8,7 @@ from datetime import date
from django.conf import settings
from django_countries import countries
from django.core.validators import RegexValidator
-from django.utils.translation import ugettext as _
+from django.utils.translation import ugettext_lazy as _
from django.forms.extras.widgets import SelectDateWidget
from servo.validators import apple_sn_validator, phone_validator, file_upload_validator
diff --git a/servo/forms/customer.py b/servo/forms/customer.py
index 9d3bfd1..73d1086 100644
--- a/servo/forms/customer.py
+++ b/servo/forms/customer.py
@@ -3,7 +3,7 @@
import phonenumbers
from django import forms
from django.utils.safestring import mark_safe
-from django.utils.translation import ugettext as _
+from django.utils.translation import ugettext_lazy as _
from servo.forms.base import BaseModelForm, DatepickerInput
from servo.models import Customer
diff --git a/servo/forms/devices.py b/servo/forms/devices.py
index f259388..47838b1 100644
--- a/servo/forms/devices.py
+++ b/servo/forms/devices.py
@@ -2,7 +2,7 @@
from django import forms
from django.utils.safestring import mark_safe
-from django.utils.translation import ugettext as _
+from django.utils.translation import ugettext_lazy as _
from servo.models import Tag, Device, Customer
from servo.forms import DatepickerInput, AutocompleteCharField
diff --git a/servo/forms/invoices.py b/servo/forms/invoices.py
index 7c44360..dbb808f 100644
--- a/servo/forms/invoices.py
+++ b/servo/forms/invoices.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from django import forms
-from django.utils.translation import ugettext as _
+from django.utils.translation import ugettext_lazy as _
from servo.forms import DatepickerInput, NullCharField
from servo.models import Invoice, Payment, Status
diff --git a/servo/forms/notes.py b/servo/forms/notes.py
index de60a56..fb96ff6 100644
--- a/servo/forms/notes.py
+++ b/servo/forms/notes.py
@@ -4,7 +4,7 @@ import json
from django import forms
from gsxws import escalations
from django.utils.safestring import mark_safe
-from django.utils.translation import ugettext as _
+from django.utils.translation import ugettext_lazy as _
from servo.models import Note, Escalation, Template
from servo.forms import BaseModelForm, AutocompleteTextarea, TextInput
diff --git a/servo/templates/checkin/newindex.html b/servo/templates/checkin/newindex.html
index 7c04fb8..0188583 100644
--- a/servo/templates/checkin/newindex.html
+++ b/servo/templates/checkin/newindex.html
@@ -123,7 +123,7 @@
</tbody>
</table>
{% bootstrap_field customer_form.checkin_location %}
- {% bootstrap_field customer_form.checkout_location %}
+ {% bootstrap_field customer_form.checkout_location %}
</div>
</div>
<hr/>