#17206: Example of ViewDoesNotExist error page in tutorial is outdated
-------------------------------+--------------------
     Reporter:  rabio          |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Documentation  |    Version:
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  1
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 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``.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17206>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to