Hello. How are you? Can I see another example of template inheritance?
On Mon, Oct 31, 2022 at 2:34 PM Ammar Mohammed
wrote:
> Hello dear
> There is a little mistake in your code :
> You should put the {%block block_name %} in your base template with no
> code and the put the code you want to be
The base template contains the default content, and blocks with default
contents in it. Then, in the child template, you can override those blocks.
El vie, 18 nov 2022 17:54, Alec Delaney <96alecpatr...@gmail.com> escribió:
> Hello. How are you? Can I see another example of template inheritance?
*Context:* https://baatcheet.app
I am trying to enable app users ability to share links as part of room
messages. Currently even links show up as text.
*GitHub:* https://github.com/engagepy/django_baatcheet
*room.html: *
https://github.com/engagepy/django_baatcheet/blob/main/baatcheet/base/te
What error is it showing you?
Please send a picture of it. Remember you can save your base with your
desired name, but you should also not that you should register your
templates directory in settings template list as [BASE_DIRS/ "templates"]
and Incase your template files are in an embedded direct
4 matches
Mail list logo