Your template name should be: template_name = "index.html"
That's all.
On Thu, Aug 22, 2019 at 12:55 PM RONAK JAIN wrote:
> Hi
>
> I am new in Django I am doing struggle with add Django templates using by
> inheritance.
>
>
> so when I am trying within *Example:: index.html add inside the
> b
Hi
I am new in Django I am doing struggle with add Django templates using by
inheritance.
so when I am trying within *Example:: index.html add inside the blog.html
but, *I am getting the direct blog.html, not index.html on the index page.
so I used simply in index.html.
*index.html:*
{%.
i have this code in my template:
{% for i in var %}
{% for action in actions %}
{{ action.name_short }}
{% endfor %}
{% endfor %}
the value of action.url_alias is 'user-edit' i.id host 'account' ,that's
what i want from table,i use django-hosts in my project,the error is that:
Reverse fo
yes,you are right,i have noticed that,but now i have a new error:
i have this code in my template:
{% for action in actions %}
{{ action.name_short }}
{% endfor %}
the value of action.url_alias is 'user-edit' i.id host 'account' ,that's
what i want value from table,i use django-hosts in
On Sun, Apr 3, 2016 at 11:50 AM, 颜刚 wrote:
>
>
> i have this code in my template:
>
> {% for action in actions %}
>
> {{ action.name_short }}
>
> {% endfor %}
>
> but that's error:
>
> Exception Type: TemplateSyntaxError
> Exception Value:
> Could not parse the remainder: '{{' from '{{'
>
>
i have this code in my template:
{% for action in actions %}
{{ action.name_short }}
{% endfor %}
but that's error:
Exception Type: TemplateSyntaxError
Exception Value:
Could not parse the remainder: '{{' from '{{'
i want to use var in {% url {{}} %},can i?
anyone can help me ?
--
Yo
6 matches
Mail list logo