12. Model Date and Time

12.1. Fields

  • DateField

  • DateTimeField

  • DurationField

  • TimeField

12.2. Arguments

  • auto_add (DateField, DateTimeField)

  • auto_add_now (DateField, DateTimeField)

12.3. Attributes

  • blank

  • choices

  • db_column

  • db_index

  • default

  • editable

  • error_message

  • help_text

  • limit_choices_to

  • max_length

  • null

  • primary_key

  • unique

  • validators

  • verbose_name