Re: how to include template

2017-05-03 Thread Thiago Luiz Parolin
Thank you... All is working now i was seeing in the wrong page of documentation.. 2017-05-03 12:01 GMT-03:00 Dartos : > Hi, > > You need to set the template directories option in your project's settings > file. > > See here: > https://docs.djangoproject.com/en/1.11/topics/templates/#configur

Re: how to include template

2017-05-03 Thread Dartos
Hi, You need to set the template directories option in your project's settings file. See here: https://docs.djangoproject.com/en/1.11/topics/templates/#configuration There's an example in the above link: TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates',

how to include template

2017-05-03 Thread Thiago Luiz Parolin
I have a project that has a folder structure like this: Project1 / --Templates / Base.html Error.html --App1 Templates / --App1 / App1.html How can i include error.html in app1.html? I am trying using {% include

How to include template with current tag definitions

2009-09-30 Thread Arnaud Delobelle
Hi all, I would like to be able to include a template from another template so that the included template understands the tag definitions defined in the including template, but I can't think of a simple way to do it. E.g. say that mytags defines a tag called "mytag". I would like the following