I'm using leaflet with django. My issue is that I'm (unintentionally) generating a full html doc instead of just the fragment that renders my map, so when I insert the html into a page with other stuff including site branding, it displays but the html is borked (e.g., two <!DOCTYPE html> strings, mine and leaflet's).
To be fair, this is leaflet + folium + branca, so maybe I'm barking up the wrong tree here, in which case my apologies and many thanks in advance for suggestions where I should address this instead.
I've made an as minimal as possible django app that renders an index page and a map page to demonstrate what I mean.
-- Jeff Abrahamson +33 6 24 40 01 57 +44 7920 594 255 https://www.p27.eu/jeff/ https://www.mobilitains.fr/