Skip to content

Commit bdaff83

Browse files
committed
meta options
1 parent 412abb6 commit bdaff83

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

source/model-data/models.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,12 @@ define a model:
232232
def __str__(self):
233233
# Include logic for displaying your model as a string here
234234

235+
.. tip::
236+
237+
To learn more about the metadata options you can specify
238+
in the ``Meta`` class, see `Model Meta options <{+django-docs+}/ref/models/options/>`__
239+
in the {+framework+} documentation.
240+
235241
To use your models, you must add them to your project's
236242
``settings.py`` file. Edit the ``INSTALLED_APPS`` value to include
237243
the name of the module that stores your ``models.py`` file, as shown
@@ -431,7 +437,7 @@ and modifies the ``Movie`` model to include the ``EmbeddedModelField``:
431437
:end-before: end-embedded-field
432438
:language: python
433439
:copyable:
434-
:emphasize-lines: 17
440+
:emphasize-lines: 18
435441

436442
.. tip::
437443

0 commit comments

Comments
 (0)