A

Admin • 831.35K Points
Coach

Q. Which field automatically updates to the current date every time the model is saved?

  • (A) auto_now_add
  • (B) DateField
  • (C) auto_now
  • (D) TimeField
  • Correct Answer - Option(C)
  • Views: 18
  • Filed under category Django
  • Hashtags:

Explanation by: Admin
auto_now updates the field to the current date and time on each save.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.