title: Access Django "context" in template javascript (to create markers on a Map)
body: <p>i am trying to iterate over a list of dictionares in a javascript. 
  The list is coming from render context, and is called "spots". If I print "spots" this is what I see:</p>
  
  <pre><code>[{u'rider_ability': u'Intermediate, Expert', u'spot_distance': 0, u'water_type': u'Shallow, Flat, Chop, Small wave', u'water_quality': u'Clean', u'lat': 40.6775, u'lng': 14.7587, u'spot_name': u'Salerno'}, {u'rider_ability': u'Expert', u'spot_distance': 7, u'water_type': u'Flat, Chop, Small wave', u'water_quality': u'Clean', u'lat': 40.6436, u'lng': 14.6984, u'spot_name': u'Cetara'}, {u'rider_ability': u'Intermediate, Expert', u'spot_distance': 16, u'water_type': u'Chop, Small wave', u'water_quality': u'Crystal clear', u'lat': 40.6262, u'lng': 14.5883, u'spot_name': u'Spiaggia Duoglie'}, {u'rider_ability': u'Beginner, Intermediate, Expert', u'spot_distance': 33, u'water_type': u'Shallow, Chop, Small wave', u'water_quality': u'Clean', u'lat': 40.4271, u'lng': 14.9818, u'spot_name': u'Ponte di Ferro'}, {u'rider_ability': u'Beginner, Intermediate, Expert', u'spot_distance': 36, u'water_type': u'Shallow, Chop, Small wave', u'water_quality': u'Clean', u'lat': 40.4026, u'lng': 14.9949, u'spot_name': u'Paestum'}, {u'rider_ability': u'Beginner, Intermediate, Expert', u'spot_distance': 41, u'water_type': u'Shallow, Flat, Chop, Small wave', u'water_quality': u'Clean', u'lat': 40.343, u'lng': 14.9717, u'spot_name': u'Agropoli'}] 
  </code></pre>
  
  <p>And this is the code I am trying to use (without any result, I see an empty map).</p>
  
  <pre><code>&lt;script&gt;
      const options = {
              key: 'MYKEY',
              verbose: true,
          }
  
      windyInit(options, windyAPI =&gt; {
          const {
              map
          } = windyAPI
  
          {% for spot in spots %}
  
              L.marker([spot.lat, spot.lng]).bindPopup(spot.spot_name).addTo(map)
  
          {% endfor %}
      })
  
  &lt;/script&gt;
  </code></pre>
  
  <p>Any idea on how to do? Many thanks.</p>