'How to display Json format on Django?

I am building an application with Django. I want to display only the field without the number and data type as shown in the picture. I use data from CSV. Maybe I think this needs to be converted into Json. But I don't understand. on my website

This is my code:

views.py

def get_rbook(request, bookid):
    df_book = pd.read_csv(book_path)
    book_details = df_book[df_book['book_id'] == bookid]

    context = {
        'book': book_details,
    }
    return render(request, "resources/read.html", context)

HTML

<div class="container-fluid">
    <div class="container-fluid">
        <div class="row">
            <div class="col-sm-12">
                <div class="row">
                    <div class="col-sm-2">
                        <div class="grid-item">
                            <div class="view-details" style="cursor:pointer">
                                <img id="product_image" class="lookInsideImg" src="{{ book.image_url }}">
                            </div>
                        </div>      
                    </div>
        
                    <div class="col-sm-10">
                        <div class="product-information">
                            <h4>{{ book.original_title }}</h4>
                            <p style="margin: 0px">by <a style="font-weight:bold" href="#">{{ book.authors }}</a></p>
                            <div class='rating'>
                            </div>
                            <article class="text-justify" style="margin-top:10px;">
                                {{ book.desc }}
                            </article>

                        </div>
                    </div>
                </div>  
            </div>
        </div>
    </div>
</div>

Thank you before!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source