summaryrefslogtreecommitdiff
path: root/docs/intro
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2020-01-05 10:04:51 +0000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-01-06 13:50:43 +0100
commit2ea3fb3e6386c43f124b542e92b817dbc227c76b (patch)
tree2decee1530b738f997c05b2c9b4438659125935a /docs/intro
parent1487f16f2d29c7aeaf48117d02a1d7bbeafa3d94 (diff)
Removed "Don't do that" from docs and error messages.
It's slightly aggressive and doesn't explain itself.
Diffstat (limited to 'docs/intro')
-rw-r--r--docs/intro/tutorial03.txt7
1 files changed, 0 insertions, 7 deletions
diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt
index 23282c4f6d..73cc778106 100644
--- a/docs/intro/tutorial03.txt
+++ b/docs/intro/tutorial03.txt
@@ -125,13 +125,6 @@ view function. The ``:question_id>`` part of the string defines the name that
will be used to identify the matched pattern, and the ``<int:`` part is a
converter that determines what patterns should match this part of the URL path.
-There's no need to add URL cruft such as ``.html`` -- unless you want to, in
-which case you can do something like this::
-
- path('polls/latest.html', views.index),
-
-But, don't do that. It's silly.
-
Write views that actually do something
======================================