Saturday, March 12, 2011

template loader is missing a character.

Hi.

I'm following the tutotial for my first Django app, in part 3 after
edit the views.py file I'm getting the error.

I already created the polls directory with the index.html file as
indicated in the tutorial, also I've edited the setting.py to indicate
where the templates are located. When I run the server or load the
page I'm getting this error:

TemplateDoesNotExist at /polls/
polls/index.html

Django tried loading these templates, in this order:

•Using loader django.template.loaders.filesystem.Loader:
◦c:\documents and settings\hp_propietario\mysite\ emplates\polls
\index.html (File does not exist)
•Using loader django.template.loaders.app_directories.Loader:
◦c:\python27\lib\site-packages\django\contrib\admin\templates\polls
\index.html (File does not exist)

As you can see template loader is missing the letter " t " of
templates

I've changed twice the directory in TEMPLATE_DIRS and still getting
the same error.

What can I do to fix this problem?

Thanks.

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate