Bah! I should really read the docs more carefully.
>From the docs: "*Include:* *Loads a template and renders it with the
current context.*"
https://docs.djangoproject.com/en/2.1/ref/templates/builtins/#include
The example I posted actually works perfectly fine with regards to the
include.
I ju
Maybe you can solve this using a templatetag?
On Wed, 13 Feb 2019, 16:47 Mikkel Kromann Hi.
>
> I have a collection of apps where I find repeating myself when rendering
> tables in the templates.
> In the stylised example below I have three types of tables, foo, bar and
> baz.
> Each app is suppo
Hi.
I have a collection of apps where I find repeating myself when rendering
tables in the templates.
In the stylised example below I have three types of tables, foo, bar and
baz.
Each app is supposed to render various combinations of tables from its own
models, but also from other models' tabl
3 matches
Mail list logo