*Here is my template.*
 

> *index.html*
>>
>
{% if latest_question_list %}
    <ul>
    {% for question in latest_question %}
        <li><a 
herf="/polls/{{question.id}}/">{{question.question_text}}</a></li>
    {% endfor %}
    </ul>
{% else %}
    <p>No polls are available.</p>
{% endif %} 


*Here is my command prompt log.*

Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\Users\HP>cd mysite/

C:\Users\HP\mysite>python manage.py check
System check identified no issues (0 silenced).

C:\Users\HP\mysite>python manage.py runserver
Performing system checks...

System check identified no issues (0 silenced).
August 14, 2017 - 14:37:00
Django version 1.11.4, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
[14/Aug/2017 14:37:06] "GET /polls/ HTTP/1.1" 200 25
Not Found: /favicon.ico
[14/Aug/2017 14:37:06] "GET /favicon.ico HTTP/1.1" 404 2069
Not Found: /
[14/Aug/2017 14:37:11] "GET / HTTP/1.1" 404 2018
Not Found: /
[14/Aug/2017 14:37:24] "GET / HTTP/1.1" 404 2018

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/84d87c28-c274-415b-98b3-0bd51d9b4a93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to