summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial02.txt
diff options
context:
space:
mode:
authorKatie McLaughlin <katie@glasnt.com>2019-09-14 12:47:15 +1000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-09-16 09:40:44 +0200
commit44077985f58be02214a11ffde35776fed3c960e1 (patch)
tree23f1b613cf0dcc2f09948d16493ae95152cc5103 /docs/intro/tutorial02.txt
parent6c3dfba89215fc56fc27ef61829a6fff88be4abb (diff)
Fixed #30775 -- Added admonition about missing imports to "Running tests" section in tutorial 5.
Diffstat (limited to 'docs/intro/tutorial02.txt')
-rw-r--r--docs/intro/tutorial02.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt
index f8ff294573..c4fad3b78b 100644
--- a/docs/intro/tutorial02.txt
+++ b/docs/intro/tutorial02.txt
@@ -443,8 +443,9 @@ models, not only for your own convenience when dealing with the interactive
prompt, but also because objects' representations are used throughout Django's
automatically-generated admin.
-Note these are normal Python methods. Let's add a custom method, just for
-demonstration:
+.. _tutorial02-import-timezone:
+
+Let's also add a custom method to this model:
.. code-block:: python
:caption: polls/models.py