fieldName = models.DateField(auto_now=False, auto_now_add=False)
      Python language logo
      your recipe card header background

      Date Field

      Django Public Recipes

      The code uses the models.DateField class to create a field that stores dates in the current time format (yyyy-mm-dd) or with the addition of a time stamp (yyyy-mm-dd HH:mm).

      Library: django

      Shortcut: django.field.date

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.