123456789 |
- from django.http import HttpResponse
- from django.shortcuts import render
- import time
-
- def index(request):
- context = {'now' : time.strftime('%H:%M:%S', time.localtime())}
- return render(request, 'polls/index.html', context)
-
- # Create your views here.
|