瀏覽代碼

Refs #35502 -- Clarified models.py file path in docs/topics/db/queries.txt.

Natalia 7 月之前
父節點
當前提交
fc1119e8be
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      docs/topics/db/queries.txt

+ 2 - 1
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