mirror of
https://github.com/django/django.git
synced 2025-01-12 03:15:47 +00:00
Refs #35502 -- Clarified models.py file path in docs/topics/db/queries.txt.
This commit is contained in:
parent
d2c74cfb48
commit
fc1119e8be
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user