Hi Owidjaya,

Common usage is to refer to your_app_name/template_name.html , so you
can put for example

{% extends "datagrid/template1.html" %}

in your client template.

So it is recommended to store your templates in a directory
your_app_name/templates/your_app_name/template_name.html

For more info, see http://docs.djangoproject.com/en/1.2/topics/templates/

Hope this helps.

Best regards, Wim


On Nov 26, 7:48 pm, owidjaya <owidj...@gmail.com> wrote:
> How do i extends a template that is stored within an application
> template directory from another application?
> I have two apps
> one is datagrid and the other one is client
> I want to use datagrid to display list of clients
> but instead of using the datagrid template that comes from the app, i
> want to extend that template to modify the datagrid for client display

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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