Q. Which model field is suitable for a fixed set of choices?

  • (A) CharField with max_length
  • (B) ChoiceField
  • (C) CharField with choices
  • (D) StringField
πŸ’¬ Discuss
βœ… Correct Answer: (C) CharField with choices
Explanation: CharField with the choices attribute is used for predefined values.
Explanation by: Rakesh Yadav
CharField with the choices attribute is used for predefined values.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
84
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rakesh Yadav
Publisher
πŸ“ˆ
96%
Success Rate