conf(production):structure setting of production server and app verion api
This commit is contained in:
@@ -449,10 +449,10 @@ class IAmPrincipalBiometric(BaseModel):
|
||||
|
||||
class AppVersion(models.Model):
|
||||
DEVICE_CHOICES = [
|
||||
('apple', 'apple'),
|
||||
('ios', 'ios'),
|
||||
('android', 'android'),
|
||||
]
|
||||
device_type = models.CharField(max_length=10, choices=DEVICE_CHOICES, verbose_name='Device Type (apple / android)')
|
||||
device_type = models.CharField(max_length=10, choices=DEVICE_CHOICES, verbose_name='Device Type (ios / android)')
|
||||
version = models.CharField(max_length=5, validators=[RegexValidator(r'^\d+\.\d+\.\d+$')], verbose_name='Version')
|
||||
force_upgrade = models.BooleanField(default=False, verbose_name='Force Upgrade', help_text='Indicates whether a force upgrade is needed for this app version.')
|
||||
recommend_upgrade = models.BooleanField(default=False, verbose_name='Recommend Upgrade', help_text='Indicates whether a recommend upgrade is needed for this app version.')
|
||||
|
||||
Reference in New Issue
Block a user