when_start = models.DateTimeField()
when_end = models.DateTimeField()
我怎样才能得到 和 之间的分钟when_start
差when_end
?
my_minutes = when_end - when_start = #number of minutes
when_start = models.DateTimeField()
when_end = models.DateTimeField()
我怎样才能得到 和 之间的分钟when_start
差when_end
?
my_minutes = when_end - when_start = #number of minutes