Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about django include tag #4

Open
ghost opened this issue Feb 26, 2013 · 1 comment
Open

about django include tag #4

ghost opened this issue Feb 26, 2013 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 26, 2013

i want to include my jstemplate file like tpl_a.html which was wroten some html and used tplhandlebar tag, when i include this tpl file into another tpl, it can't work correctly, after rending found nothing.
sample code:
tpl_a.html
{% tplhandlebars "product form" %}

...........{{product}}............
{% endtplhandlebars %}
some_form.html

hello
{% include "tpl_a.html" %}

after rendering i found nothing about tpl_a.html in my page some_form.html, just a word hello

@leplatrem
Copy link
Collaborator

I do not see any reason for this...

Can you try with ssi please ? https://docs.djangoproject.com/en/dev/ref/templates/builtins/#ssi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant