Opened 13 years ago

Closed 13 years ago

#17206 closed Uncategorized (fixed)

Example of ViewDoesNotExist error page in tutorial is outdated

Reported by: rabio Owned by: nobody
Component: Documentation Version:
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Content of ViewDoesNotExist error page in third part of the tutorial is inconsistent with what user will actually see. Diff below corrects this.

--- a/docs/intro/tutorial03.txt
+++ b/docs/intro/tutorial03.txt
@@ -147,8 +147,7 @@ You should get a pleasantly-colored error page with the following message::
 
     ViewDoesNotExist at /polls/
 
-    Tried index in module polls.views. Error was: 'module'
-    object has no attribute 'index'
+    Could not import polls.views.index. View does not exist in module polls.views.
 
 This error happened because you haven't written a function ``index()`` in the
 module ``polls/views.py``.

Change History (2)

comment:1 by Julien Phalip, 13 years ago

Triage Stage: UnreviewedReady for checkin

Thanks!

comment:2 by Julien Phalip, 13 years ago

Resolution: fixed
Status: newclosed

In [17082]:

Fixed #17206 -- Fixed an outdated error message in the tutorial part 3. Thanks, rabio.

Note: See TracTickets for help on using tickets.
Back to Top