Unable to render the context value in django template on ubuntu server

I have this piece of code that is working fine on my PC environment (virtual environment) but causing problems in a ubuntu, Nginx server. It is a digital ocean droplet actually. I am not very much familiar with ubuntu that's why I am unable to understand the cause of the problem.

Now the problem is, that the 'checkout.html' template doesn't render the value of 'fire'. I have tried to troubleshoot manually and in the 'inspect' window I only see an empty label.

Why is this happening, is it because of the django=2.2.3 version or ubuntu or Nginx or am I missing anything here?

Note: I am updating the files through Filezilla. Kindly help, please.

Views.py

def checkout(request):
    return render(request, 'checkout.html', {'fire':"fire"})

checkout.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <label>{{fire}}</label>
</body>
</html>

urls.py

from .views import *
path('checkout-page', checkout, name="checkout"),
Back to Top