makinacorpus / django-leaflet

Use Leaflet in your Django projects
GNU Lesser General Public License v3.0
717 stars 283 forks source link

Getting error with Content Security Policy (CSP) because tags have inline-scripts #333

Closed rodolvbg-divineslns closed 3 years ago

rodolvbg-divineslns commented 3 years ago

Hello,

I see that {% leaflet_js %}, {% leaflet_css %} and {% leaflet_map %} tags contain unsafe inline code. Maybe it's necessary insert into an external script