planarian

This commit is contained in:
2026-05-02 17:19:44 +02:00
parent c16a874ebd
commit 3f746b6b3f
26 changed files with 1447 additions and 422 deletions
+3 -3
View File
@@ -175,8 +175,8 @@ class WellPosition(models.Model):
@classmethod
def active_well(cls, multiwel, well):
return WellPosition.objects.filter(multiwel_id=multiwel.id, well_id=well.id).first()
def active_well(cls, multiwell, well):
return WellPosition.objects.filter(multiwell_id=multiwell.id, well_id=well.id).first()
class Meta:
ordering = ['order']
@@ -235,7 +235,7 @@ class Experiment(models.Model):
verbose_name_plural = _("Expériences")
def __str__(self):
return f'{self.title}: {self.created} {self.multiwell.order}'
return f'{self.id}:{self.title}-{self.created}'
class Session(models.Model):