[Answered ]-Django double curly braces tag not loading in html templates

1👍

You used the different variables in the template. Try this,

<body>
    <div class="container">
        <div class="row">
            <div class="col-lg">
                <br>
                <img src="{{checkout.image_url}}">
            </div>
            <div class="col-lg">
                <br>
                <div class="card card-body">
                    <h3> {{checkout.amount}} </h3>
                    <hr>
                    <h4>Total: $ {{checkout.price}} </h4>
                    <hr>                   
               </div
            </div>
        </div>       
    </div>
</body>

Leave a comment