from django.shortcuts import render

# Create your views here.

from datetime import datetime
from django.http import HttpResponse

def index(request):
  now = datetime.now()
  html = f'''
  <html>
      <body>
          <h1>That's a Django app on Vercel!!!! :D</h1>
          <p>The current time is { now }.</p>
      </body>
  </html>
  '''
  return HttpResponse(html)