Just a little hint – it woud be good, when you put an informative title
of your emails, so the people can orient what the topic of the email is.

Best wishes!

Ivan

На Sat, 22 Dec 2012 10:16:16 +0530
vinoth kumar renganathan <vinoth.vinothre...@gmail.com> написа:

> 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.

  • [no subject] vinoth kumar renganathan
    • Re: Lachlan Musicman
      • Re: vinoth kumar renganathan
    • Re: [offtopic] put a title Ivan Ivanov
    • Re: djangobie
    • Re: djangobie
      • Re: vinoth kumar renganathan

Reply via email to