Q. Which field should be used to generate slugs in Django?

  • (A) CharField
  • (B) SlugField
  • (C) URLField
  • (D) TextField
πŸ’¬ Discuss
βœ… Correct Answer: (B) SlugField
Explanation: `SlugField` is specifically used to store slugs (URL-friendly text).
Explanation by: Mr. Dubey
`SlugField` is specifically used to store slugs (URL-friendly text).

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
79
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate