Unwanted text included when rendering multiple graphics using Bokeh with Django

When I render more than one graphic using Bokeh and Django, the dictionary or the text of the list will appear along with my two graphs.

I have read all the documentation and I have searched here in Stack Overflow and I have even found an element that is fundamental for what I think is happening.

However, this user is clearly using Flask and Jinga where I am using Django and DTL, so I can not apply this particular solution. I have tried to adapt it to Django's view, but so far I have not succeeded.

MY VIEW >>>>

def test_html (request):

plot1 = figure ()
plot1.circle ([1, 10, 35,  27], [2, 0, 45, 0], size = 20, color =
"blue")


plot2 = figure ()
plot2.circle ([1, 10, 35,  27], [3, 25, 3, 44], size = 20, color =
"blue")

parcels = [plot1, plot2]

    script, div, = components (graphics)
returns render (request, & # 39; test_html.html & # 39 ;, {& # 39; script & # 39 ;: script,
& Div; # & # 39 ;: div})

MY TEMPLATE >>>






        
        
        
     Bokeh
    
     
       

My letter

{{div | safe}} {{script | safe}}

Right now I'm looking at the characters in the list or the dictionary along with my graphics and I just want to see the graphics.