﻿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
35737	Clarify where `models` comes from to understand missing import statement in tutorial 7	Mariatta	Mariatta	"On this tutorial: https://docs.djangoproject.com/en/5.1/intro/tutorial07/#id8


It is missing the import for `models` which is used to define the `Question` model.

{{{#!python
from django.db import models
}}}

Not adding the import statement could be confusing to the new learners, because throughout the tutorials, it uses `models` from both django.db.models and `polls.models`.  On the previous examples of this tutorial page, it uses `models` imported from the `polls` app, so it would be useful to remind new learners that we're extending the `models.Model` from `django.db` and not the one from the `polls.models`.

The same issue seems to appear in v 4 as well. I didn't check the earlier versions.
If you'd agree this is worth fixing, I can open a PR.
"	Cleanup/optimization	closed	Documentation	5.0	Normal	fixed			Ready for checkin	1	0	0	0	0	0
