Sail E0 Webinar
Question
What happens if MyObject.objects.get() is called with parameters that do not match an existing item in the database?
Options:
A .  The Http404 exception is raised
B .  The DatabaseError exception is raised
C .  The MyObject.DoesNotExist exception is raised
D .  The object is created and returned
Answer: Option C





Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers