Skip to content

Impossible to override context in for a child template #8

Open
@thibaudcolas

Description

@thibaudcolas

In GitLab by @m1kola on Dec 14, 2017, 11:38

If you have a some_page.html&some_page.yaml and include_me.html&include_me.html and some_page.html includes include_me.html.

some_page.yaml with something like:

context:
  page:
    pk: 1
    title: "my title"

and include_me.yaml with something like:

context:
  page:
    title: "Title from include"

Title from include will appear on both patterns. It's impossible to override single key in some_page.html

cc @bcdickinson

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdjangoRelated to Django templates capabilities

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions