Refs #25287 -- Added support for multiplying and dividing DurationField by scalar values on SQLite.

This commit is contained in:
Tobias Bengfort 2021-04-06 18:14:16 +02:00 committed by Mariusz Felisiak
parent 9e1ccd7283
commit 54e94640ac
7 changed files with 64 additions and 3 deletions

View file

@ -60,6 +60,7 @@ class Experiment(models.Model):
estimated_time = models.DurationField()
start = models.DateTimeField()
end = models.DateTimeField()
scalar = models.IntegerField(null=True)
class Meta:
db_table = 'expressions_ExPeRiMeNt'