This commit is contained in:
parent 2ea46faa71
commit a201c0c3ea
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ class Scene3D(models.Model):
validators=[MinValueValidator(1), MaxValueValidator(200)], blank=True, null=True validators=[MinValueValidator(1), MaxValueValidator(200)], blank=True, null=True
) )
max_distance = models.IntegerField( max_distance = models.IntegerField(
validators=[MinValueValidator(2), MaxValueValidator(200)], blank=True, null=True validators=[MinValueValidator(2), MaxValueValidator(500)], blank=True, null=True
) )
def __str__(self): def __str__(self):
@ -44,7 +44,7 @@ class ClickableArea(models.Model):
description = models.TextField("описание") description = models.TextField("описание")
object_name = models.CharField("название объекта", max_length=255) object_name = models.CharField("название объекта", max_length=255)
target_name = models.CharField( target_name = models.CharField(
max_length=500, max_length=200,
blank=True, blank=True,
null=True, null=True,
) )