Commit a20e901b6ad1736c99bf81d76c1b915849afc26d
Exists in
dev
Merge branch 'dev' of https://gitlab.irap.omp.eu/pyros-irap/pyros into dev
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/core/pyros_django/user_mgmt/models.py
@@ -475,7 +475,7 @@ class ScientificProgram(models.Model): | @@ -475,7 +475,7 @@ class ScientificProgram(models.Model): | ||
475 | science_theme = models.ForeignKey(ScienceTheme, on_delete=models.DO_NOTHING, related_name="scientific_program_theme", default=1) | 475 | science_theme = models.ForeignKey(ScienceTheme, on_delete=models.DO_NOTHING, related_name="scientific_program_theme", default=1) |
476 | is_auto_validated = models.BooleanField(default=False) | 476 | is_auto_validated = models.BooleanField(default=False) |
477 | objects = ScientificProgramManager() | 477 | objects = ScientificProgramManager() |
478 | - quota = models.ForeignKey(Quota, on_delete=models.DO_NOTHING,related_name="scientific_program_quotas", blank=True, null=True) | 478 | + quota = models.ForeignKey(Quota, on_delete=models.DO_NOTHING, related_name="scientific_program_quotas", blank=True, null=True) |
479 | quota_f = models.FloatField( | 479 | quota_f = models.FloatField( |
480 | validators=[MinValueValidator(0), MaxValueValidator(1)], blank=True, null=True) | 480 | validators=[MinValueValidator(0), MaxValueValidator(1)], blank=True, null=True) |
481 | 481 |