summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatalia <124304+nessita@users.noreply.github.com>2024-08-07 16:08:21 -0300
committerNatalia <124304+nessita@users.noreply.github.com>2024-10-09 09:13:58 -0300
commita313e203e0be7831fa77a6d6b5e29f3b48f11839 (patch)
tree1e978006e3c65e77ae5bbc5a70ed330d812c79d5
parent2bd546957dcc716fbef6796368e7f5a17bf0a452 (diff)
[5.1.x] Refs #35502 -- Clarified models.py file path in docs/topics/db/queries.txt.
Backport of fc1119e8be705766b0277a0ebf8ad637f9d068c2 from main.
-rw-r--r--docs/topics/db/queries.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt
index 45c6183103..7e3338eaea 100644
--- a/docs/topics/db/queries.txt
+++ b/docs/topics/db/queries.txt
@@ -62,7 +62,8 @@ class represents a particular record in the database table.
To create an object, instantiate it using keyword arguments to the model class,
then call :meth:`~django.db.models.Model.save` to save it to the database.
-Assuming models live in a file ``mysite/blog/models.py``, here's an example:
+Assuming models live in a ``models.py`` file inside a ``blog`` Django app, here
+is an example:
.. code-block:: pycon