1

Which function is used in Django models to define a string representation?

Correct Answer: __str__

Make the most of this question

This page focuses on one Django MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

Django MCQs MCQ: Which function is used in Django models to define a string representation? | Extra Education