On Thu, 2006-10-12 at 05:36 -0700, MerMer wrote:
> I am trying to extend a template.  My parent Template is in
> mysite/mytemplates/promotions/
> and the child template is in mysite/mytemplates/polls/
> 
> I get the following error saying that the template cannot be found when
> I try:-
> 
> {% extends "mytemplates/promotions/promotion_list.htm" %}

What does your TEMPLATE_DIRS setting look like? It seems like the above
path to your template is way too long for any likely settings you would
have there.

The argument in the {% extends ... %} tag is appended to each of the
prefixes in TEMPLATE_DIRS in turn until the file is found (if no
success, the error you see is raised).

So I suspect you have the name of the template incorrect in the above
line.

Regards,
Malcolm



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

Reply via email to