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``.
Note:
See TracTickets
for help on using tickets.
Thanks!