diff --git a/terraso_backend/apps/soil_id/models/depth_dependent_soil_data.py b/terraso_backend/apps/soil_id/models/depth_dependent_soil_data.py index 7a9bf92ae..51a0ec72b 100644 --- a/terraso_backend/apps/soil_id/models/depth_dependent_soil_data.py +++ b/terraso_backend/apps/soil_id/models/depth_dependent_soil_data.py @@ -107,16 +107,20 @@ class ColorChroma(models.TextChoices): color_chroma = models.CharField(blank=True, null=True, choices=ColorChroma.choices) class ColorPhotoSoilCondition(models.TextChoices): - MOIST = "MOIST" - DRY = "DRY" + MOIST = "MOIST" + DRY = "DRY" + + color_photo_soil_condition = models.CharField( + blank=True, null=True, choices=ColorPhotoSoilCondition + ) - color_photo_soil_condition = models.CharField(blank=True, null=True, choices = ColorPhotoSoilCondition) - class ColorPhotoLightingCondition(models.TextChoices): - EVEN = "EVEN" - UNEVEN = "UNEVEN" + EVEN = "EVEN" + UNEVEN = "UNEVEN" - color_photo_lighting_condition = models.CharField(blank=True, null=True, choices = ColorPhotoLightingCondition) + color_photo_lighting_condition = models.CharField( + blank=True, null=True, choices=ColorPhotoLightingCondition + ) conductivity = models.DecimalField( blank=True, null=True, max_digits=100, decimal_places=2, validators=[MinValueValidator(0)]