Opened 5 years ago

Closed 5 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


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/``.

Change History (2)

comment:1 Changed 5 years ago by julien

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin


comment:2 Changed 5 years ago by julien

  • Resolution set to fixed
  • Status changed from new to closed

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