Q. Which function is used in Django models to define a string representation?
β
Correct Answer: (B)
__str__
Explanation: The `__str__` method in models defines the string representation of an object.