10. Model Date and Time

10.1. Fields

  • DateField

  • DateTimeField

  • DurationField

  • TimeField

10.2. Arguments

  • auto_add (DateField, DateTimeField)

  • auto_add_now (DateField, DateTimeField)

10.3. Attributes

  • verbose_name

  • max_length

  • choices

  • validators

  • help_text

  • null

  • blank

  • default

  • db_index

  • db_column

  • default

  • limit_choices_to

  • editable

  • primary_key

  • help_text

  • error_message

  • unique