#36766: Reference to package as "module" is confusing
-----------------------------------------+---------------------------
Reporter: Bob Kline | Owner: Bob Kline
Type: Bug | Status: assigned
Component: Documentation | Version: 5.2
Severity: Normal | Keywords: tutorial
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-----------------------------------------+---------------------------
Following up on the related [
https://forum.djangoproject.com/t/package-
versus-module/43560 forum discussion], I propose changing
> ... add the name of the module that contains your `models.py`.
to
> ... add the name of the package that contains your `models` module.
in the [
https://docs.djangoproject.com/en/5.2/topics/db/models/#using-
models Using models] section of the tutorial.
In my experience, most Python programmers are not aware that, technically
speaking, a package ''is'' a special type of module. This is due
principally to the fact that most of the language in the Python
documentation implies that the term "modules" does not include packages.
Earlier in the tutorial this package is referred to as a "package," not a
"module," and there is no reason not to use the more specific term here,
preventing unnecessary confusion.
I will submit a PR shortly.
--
Ticket URL: <
https://code.djangoproject.com/ticket/36766>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.