On Oct 12, 2006, at 8:03 AM, MerMer wrote:
>
> my settings look like the following:-
>
> TEMPLATE_DIRS = (
>     "c:/python24/lib/site-packages/django/bin/mysite/mytemplates",
>
> When I set up Django I just put in the full path in the belief that
> this would make things easier while I was testing stuff.

you previously wrote:

> {% extends "mytemplates/promotions/promotion_list.htm" %}



If your template library is called 'mytemplates', then don't use that  
part of the path in the extends call. Your extends call should only  
specify the rest of the path needed to find the file (essentially,  
the system should be able to join the TEMPLATE_DIRS path and the  
extends path to find the file). So your extends should read:

{% extends "promotions/promotion_list.htm" %}

You don't necessarily need to use a full path in your TEMPLATE_DIRS.  
If the template folder is directly inside the project folder, you can  
simply code that folder name.

Don


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