A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/torchbox/django-pattern-library/issues/8 below:

Impossible to override context in for a child template · Issue #8 · torchbox/django-pattern-library · GitHub

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4