πŸ“Š Django
Q. Which field is automatically added by Django when no primary key is specified?
  • (A) AutoKeyField
  • (B) AutoField
  • (C) PrimaryKeyField
  • (D) IDField
πŸ’¬ Discuss
βœ… Correct Answer: (B) AutoField

Explanation: Django automatically adds an AutoField as the primary key if none is defined.

Explanation by: Rakesh Yadav
Django automatically adds an AutoField as the primary key if none is defined.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
67
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Rakesh Yadav
Publisher
πŸ“ˆ
92%
Success Rate