summaryrefslogtreecommitdiff
path: root/docs/intro
diff options
context:
space:
mode:
Diffstat (limited to 'docs/intro')
-rw-r--r--docs/intro/tutorial01.txt2
-rw-r--r--docs/intro/tutorial04.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index 3211bb873f..cce3d9aa65 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -637,7 +637,7 @@ the Python import path to your :file:`mysite/settings.py` file.
>>> import django
>>> django.setup()
- If this raises an :exc:`~exceptions.AttributeError`, you're probably using
+ If this raises an :exc:`AttributeError`, you're probably using
a version of Django that doesn't match this tutorial version. You'll want
to either switch to the older tutorial or the newer Django version.
diff --git a/docs/intro/tutorial04.txt b/docs/intro/tutorial04.txt
index 72dcde8fc2..9aa0011e51 100644
--- a/docs/intro/tutorial04.txt
+++ b/docs/intro/tutorial04.txt
@@ -106,9 +106,9 @@ This code includes a few things we haven't covered yet in this tutorial:
<django.http.HttpRequest.POST>` in our code, to ensure that data is only
altered via a POST call.
-* ``request.POST['choice']`` will raise :exc:`~exceptions.KeyError` if
+* ``request.POST['choice']`` will raise :exc:`KeyError` if
``choice`` wasn't provided in POST data. The above code checks for
- :exc:`~exceptions.KeyError` and redisplays the question form with an error
+ :exc:`KeyError` and redisplays the question form with an error
message if ``choice`` isn't given.
* After incrementing the choice count, the code returns an