﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
10118	Minor Models Documentation Tweak	peterbraden@…	nobody	"I didn't think the documentation regarding the exceptions thrown by model inheritance was particularly clear - it wasn't previously mentioned that the exception thrown would be a member of the subclass.

Hope this clarification makes it more obvious, or if someone else can word it better that would be good too.

{{{
diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt
index 0b82bca..58aacdc 100644
--- a/docs/topics/db/models.txt
+++ b/docs/topics/db/models.txt
@@ -927,7 +927,7 @@ of the model name::
 
 However, if ``p`` in the above example was *not* a ``Restaurant`` (it had been
 created directly as a ``Place`` object or was the parent of some other class),
-referring to ``p.restaurant`` would give an error.
+referring to ``p.restaurant`` will raise a Restaurant.DoesNotExist exception.
 
 ``Meta`` and multi-table inheritance
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}}}"		closed	Documentation	1.0		fixed			Ready for checkin	1	0	0	0	0	0
