Can't customize individual templates:the templates inherit all the
properties of the base template eg styling and content.I am not able to
add custom content to the template that inherits from base template.
On Sat, Mar 12, 2022, 21:37 Clive Bruton wrote:
>
> On 12 Mar 2022, at 17:43, Heman Okumbo wrote:
>
> > How comes I'm not able to modify my templates after extending from
> > a base template.eg can't add extra contents,the template only
> > display contents of the inherited template.
>
> Some code might help. It's not really clear to me what you are asking.
>
> But at a guess, you can use the {% include … %} template function to
> extend templates.
>
>
> -- Clive
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/2B3DC48B-D567-45A9-B182-66D13D81B4AF%40indx.co.uk
> .
>
--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CAJt9CbgRwoH5v_ULX9tGbjyaBtizZMg-PW8f-VKO94apTcpaQg%40mail.gmail.com.