I got it figured out after getting the Documentation link to work in 
Admin pages.  The documentation helped me to see that I can refer to the 
polls by {{poll.id}} in my template.

Tonu Mikk wrote:
> These are probably an extreme newby questions, but I cannot figure it out.
>
> 1.  I am working through the tutorial for building a Polls application.  
> On part 3 it talks about creating public views for the applications.  I 
> would like to modify the index template to present a list of polls and 
> have the polls linked to the details about the polls (ie the details 
> view at a Url polls/1/.  How could I do that?
>   
Create a URL like so:  <li><a href="{{ poll.id 
}}">{{poll.question}}</a></li>
> 2.  In my  Admin site I do not see a link to Documentation in the upper 
> right hand corner.  How could I get it there?
>
>   
Modified the URLConf file to include the admindocs and included the 
admindocs application in the settings.py file.  That produced a link.  
Once I had that, I needed to install python docs library. 
> Thank you,
> Tonu
>
> >
>   



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

Reply via email to