[Answered ]-Django 1.8 Durationfield and time difference

2đź‘Ť

âś…

You can’t subtract standalone times from each other. For example, what would “12pm – 3pm” be?

You can subtract datetimes, since they represent actual points in time. You should probably use DateTimeField instead.

Leave a comment