Tuesday, February 26, 2019

Re: Tag block and endblock

Hi Nexx

Simply put, and as explained by Motaz, block is a django special purpose function called template tag which help to organize hierarchically your templates.

Short better than long, see the following documentation:

'hope it helps.

Le lundi 25 février 2019 23:21:28 UTC+1, Nexx a écrit :
Wht is the purpose of the tag
{% block myBlock %}
I red the document but i don't underatand.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/dba490c9-6d6c-46a3-a7d4-974d016e1d7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment