i am new user to  django .and i don't know how to add     .html   files
(template dirs ) to  the apps folders  .what are the things want to change
in settings.py


            the error will be templatedoesnotexist
       /polls
          /admin.py
          /__init__.py
         /models.py
         /tests.py
          /urls.py
          /views.py
          /template
                   /polls
                            /index.html
and this order will be correct or not

for example this will be codings

 {% if latest_poll_list %}
    <ul>
    {% for poll in latest_poll_list %}
        <li><a href="/polls/{{ poll.id }}/">{{ poll.question }}</a></li>
    {% endfor %}
    </ul>
{% else %}
    <p>No polls are available.</p>
{% endif %}

is it necessary to add htmltag ,header tag and doctype before this html
codings

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to