summaryrefslogtreecommitdiff
path: root/docs/intro
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2025-05-27 17:37:22 +0100
committernessita <124304+nessita@users.noreply.github.com>2025-08-25 10:51:10 -0300
commit6f8e23d1c10c7ce32cea82b65ad2af640015f147 (patch)
tree692a42d2a3c54a6610b17cc14679734973d98d89 /docs/intro
parentef2f16bc4824ca2b10b7f2845baf4d313c9c0da1 (diff)
Refs #36485 -- Removed unnecessary parentheses in :meth: and :func: roles in docs.
Diffstat (limited to 'docs/intro')
-rw-r--r--docs/intro/tutorial01.txt2
-rw-r--r--docs/intro/tutorial05.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index 1318c5aa08..504480acb1 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -282,7 +282,7 @@ plug-and-play URLs. Since polls are in their own URLconf
"/fun_polls/", or under "/content/polls/", or any other path root, and the
app will still work.
-.. admonition:: When to use :func:`~django.urls.include()`
+.. admonition:: When to use :func:`~django.urls.include`
You should always use ``include()`` when you include other URL patterns.
The only exception is ``admin.site.urls``, which is a pre-built URLconf
diff --git a/docs/intro/tutorial05.txt b/docs/intro/tutorial05.txt
index 034c37ea54..599f81f85c 100644
--- a/docs/intro/tutorial05.txt
+++ b/docs/intro/tutorial05.txt
@@ -557,8 +557,8 @@ repetition out of the process of creating questions.
"No polls are available." and verifies the ``latest_question_list`` is empty.
Note that the :class:`django.test.TestCase` class provides some additional
assertion methods. In these examples, we use
-:meth:`~django.test.SimpleTestCase.assertContains()` and
-:meth:`~django.test.TransactionTestCase.assertQuerySetEqual()`.
+:meth:`~django.test.SimpleTestCase.assertContains` and
+:meth:`~django.test.TransactionTestCase.assertQuerySetEqual`.
In ``test_past_question``, we create a question and verify that it appears in
the list.