db.models.TimeField

class TimeField(auto_now=False, auto_now_add=False, **options) [source]

A time, represented in Python by a datetime.time instance. Accepts the same auto-population options as DateField.

The default form widget for this field is a TextInput. The admin adds some JavaScript shortcuts.

doc_Django
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.