diff options
-rw-r--r-- | servo/models/account.py | 4 | ||||
-rw-r--r-- | servo/models/device.py | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/servo/models/account.py b/servo/models/account.py index f72555b..06f6417 100644 --- a/servo/models/account.py +++ b/servo/models/account.py @@ -67,6 +67,7 @@ class User(AbstractUser): ('en_US.UTF-8', _("English")), ('et_EE.UTF-8', _("Estonian")), ('fi_FI.UTF-8', _("Finnish")), + ('pl_PL.UTF-8', _("Polish")), ('sv_SE.UTF-8', _("Swedish")), ) locale = models.CharField( @@ -90,9 +91,10 @@ class User(AbstractUser): ('da_DK.UTF-8', _("Denmark")), ('et_EE.UTF-8', _("Estonia")), ('fi_FI.UTF-8', _("Finland")), - ('en_US.UTF-8', _("United States")), ('nl_NL.UTF-8', _("Netherlands")), + ('pl_PL.UTF-8', _("Poland")), ('sv_SE.UTF-8', _("Sweden")), + ('en_US.UTF-8', _("United States")), ) region = models.CharField( max_length=32, diff --git a/servo/models/device.py b/servo/models/device.py index 6d20173..4688423 100644 --- a/servo/models/device.py +++ b/servo/models/device.py @@ -534,6 +534,7 @@ class Device(models.Model): class Meta: app_label = "servo" get_latest_by = "id" + ordering = ['description'] @receiver(post_save, sender=Device) |