MCQs > IT & Programming > Django > How to create a DateTimeField named created and filled in only on the creation with the current time?

Django MCQs

How to create a DateTimeField named created and filled in only on the creation with the current time?

Answer

Correct Answer: created = models.DateTimeField(auto_now_add=True)

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Django Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Django Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it