A

Admin • 828.03K Points
Coach

Q. What is the default primary key field in Django models?

  • (A) CharField
  • (B) AutoField
  • (C) UUIDField
  • (D) IDField
  • Correct Answer - Option(B)
  • Views: 14
  • Filed under category Django
  • Hashtags:

Explanation by: Admin
`AutoField` is the default primary key if none is specified.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.