aboutsummaryrefslogtreecommitdiffstats
path: root/servo/models/device.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-10-14 23:27:04 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-10-14 23:27:04 +0300
commitd7f137a7f32a987f6b921e48e441b884129b9cc3 (patch)
tree1191486dd5a8d83a998b07f773380a9ba0121da8 /servo/models/device.py
parent1b436e4505cd91d801be956ec398d1ffa149a8b7 (diff)
downloadServo-d7f137a7f32a987f6b921e48e441b884129b9cc3.tar.gz
Servo-d7f137a7f32a987f6b921e48e441b884129b9cc3.tar.bz2
Servo-d7f137a7f32a987f6b921e48e441b884129b9cc3.zip
Cleanup
Diffstat (limited to 'servo/models/device.py')
-rw-r--r--servo/models/device.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/servo/models/device.py b/servo/models/device.py
index cf3b861..af7ce83 100644
--- a/servo/models/device.py
+++ b/servo/models/device.py
@@ -40,7 +40,7 @@ class Device(models.Model):
description = models.CharField(
max_length=128,
default=_("New Device"),
- verbose_name=_("description")
+ verbose_name=_("Description")
)
brand = models.CharField(
blank=True,
@@ -99,7 +99,7 @@ class Device(models.Model):
blank=True,
default='',
max_length=256,
- verbose_name=_("configuration")
+ verbose_name=_("Configuration")
)
WARRANTY_CHOICES = (
@@ -124,13 +124,13 @@ class Device(models.Model):
blank=True,
default='',
max_length=32,
- verbose_name=_("username")
+ verbose_name=_("Username")
)
password = models.CharField(
blank=True,
default='',
max_length=32,
- verbose_name=_("password")
+ verbose_name=_("Password")
)
purchased_on = models.DateField(
null=True,
@@ -164,7 +164,7 @@ class Device(models.Model):
null=True,
blank=True,
upload_to="devices",
- verbose_name=_("photo")
+ verbose_name=_("Photo")
)
image_url = models.URLField(
@@ -185,7 +185,7 @@ class Device(models.Model):
is_vintage = models.BooleanField(
default=False,
- verbose_name='vintage',
+ verbose_name=_('Vintage'),
help_text=_('Device is considered vintage in GSX')
)
fmip_active = models.BooleanField(default=False, editable=False)