#9069: object_list() or object_list
---------------------------+------------------------------------------------
 Reporter:  benthurgood    |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Documentation  |     Version:  1.0       
 Keywords:  object_list    |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 In the paragraph:

 ''In previous parts of the tutorial, the templates have been provided with
 a context that contains the poll and latest_poll_list context variables.
 However, the generic views provide the variables object and object_list as
 context. Therefore, you need to change your templates to match the new
 context variables. Go through your templates, and modify any reference to
 latest_poll_list to object_list(), and change any reference to poll to
 object.
 ''
 it suggests that latest_poll_list should be changed to
 object_list'''()''', ending in parenthesis. This causes an error. When you
 drop the parenthesis and make it object_list it works fine.

 Great tutorial btw!

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9069>
Django <http://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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to