Closed VirginiaDooley closed 1 year ago
I went to test this and found two things:
In terms of the question about includes...I see what you mean.
I think the solution (not a great one!) is to have
{% block body_raw %}
<body {% block body_attrs %}class="ds-width-full"{% endblock body_attrs %}>
{% block body_base %}
then projects can extend from body_base
, allowing extra_site_js
etc to be included. body_raw
can be used if the project really wants to control the whole body tag.
Does that work?
Closes https://github.com/DemocracyClub/dc_django_utils/issues/34 Ref https://github.com/DemocracyClub/dc_django_utils/issues/30