Merge pull request #22789 from edx/awais786/BOM-1146-p2

Bom-1146
This commit is contained in:
Awais Qureshi
2020-01-11 01:24:59 +05:00
committed by GitHub

View File

@@ -43,10 +43,10 @@ class AppVersionConfig(models.Model):
.. no_pii:
"""
PLATFORM_CHOICES = tuple([
(platform, platform)
for platform in PLATFORM_CLASSES.keys()
])
PLATFORM_CHOICES = tuple(
[(platform, platform) for platform in sorted(PLATFORM_CLASSES.keys())]
)
platform = models.CharField(max_length=50, choices=PLATFORM_CHOICES, blank=False)
version = models.CharField(
max_length=50,