I am stuck using <script> tags to render a googlemaps api window in my django webapp. In my views I passed my data as such:
def map_view(request):
    context = {
        'title': 'My Map',
        'machines': Machine.objects.all(),
    }
    return render(request, 'gui/map_view.html', context)
I simply want to leverage some parameters contained in the Machine objects (strings) to automate generation of Markers on the map, but can't figure out how to use machines in the javascript code. Tried both {{ }} and {% %}
 
     
     
    