from django.template import Context
from django.template.loader import get_template
from django.http import Http404, HttpResponse
import datetime


def current_datetime(request):
    now = datetime.datetime.now()
    t = get_template('index.html')
    html = t.render(Context({'current_date': now}))
    return HttpResponse(html)

bd638f7242e284ac90af0965318bc82efd45e5d4
<mask token>

<mask token>


def current_datetime(request):
    now = datetime.datetime.now()
    t = get_template('index.html')
    html = t.render(Context({'current_date': now}))
    return HttpResponse(html)

from django.template import Context
from django.template.loader import get_template
from django.http import Http404, HttpResponse
import datetime


def current_datetime(request):
    now = datetime.datetime.now()
    t = get_template('index.html')
    html = t.render(Context({'current_date': now}))
    return HttpResponse(html)
