#19681: documentation bug: tutorial 5
-------------------------------------+-------------------------------------
     Reporter:  upadhyay@…           |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |                  Version:  master
    Component:  Documentation        |               Resolution:
     Severity:  Normal               |             Triage Stage:
     Keywords:                       |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Amit Upadhyay <upadhyay@…>):

 As you can see from tutorial 3, latest_poll_list is a __list of
 **poll**s__:

      latest_poll_list = Poll.objects.order_by('-pub_date')[:5]

 Where as in the test in tutorial 5 it is compared with a __list of
 **string**s__. So either assertQuerysetEqual is a funny creature or there
 is a bug in test example.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19681#comment:2>
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 https://groups.google.com/groups/opt_out.


Reply via email to