Monday, February 25, 2019

Re: Tag block and endblock

If you see at the beginning of your template it loads/import another file which actually contains the part of code which goes in there, this block has same name like myBlock.

Hope this is helpful

Happy coding!

Sent from my iPhone

> On Feb 25, 2019, at 4:06 PM, Nexx <anatolecadet@gmail.com> wrote:
>
> 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/7c8648e8-bf1a-4803-99f8-92c3a9064ae9%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
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/03355482-F296-4026-A8A5-70992052E0F0%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment