P
P
Pavel Vinichenko2020-08-01 06:22:14
Django
Pavel Vinichenko, 2020-08-01 06:22:14

Why does Leaflet not want to work inside the content block and works fine outside the block?

Django throws an error if I put a Leaflet inside a content block in a template and want another {% endblock %} for the Leaflet container, although if I don't use a template it works fine. Can you suggest how this issue can be resolved?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2020-08-01
@bacon

Are we to guess? Show the problematic code, although the crystal ball is cleaner in the morning and maybe it will save the author https://docs.djangoproject.com/en/3.0/ref/template...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question