> 原文:[https://www . geesforgeks . org/python-time delta-total _ seconds-method-with-example/](https://www.geeksforgeeks.org/python-timedelta-total_seconds-method ...
django-timedelta-field ===== .. image:: https://drone.io/bitbucket.org/schinckel/django-timedelta-field/status.png PostgreSQL can store data as INTERVAL type, which ...
Django's DurationField lets you store a Python timedelta object in the database. It was introduced in Django 1.8, and doesn't yet have a user-friendly way to input this data in a form. There's ...