from django.http import HttpResponse
from django.shortcuts import render

def homepage(request):
	#return render(request, 'home.html' , { 'hithere': 'hi its me!'})
	return render (request, 'home.html' )

def counts(request):
	fulltext  = request.GET['fulltext']

	wordlist = fulltext.split()
	return render (request, 'count.html',{'fulltext' : fulltext ,'count' : len(wordlist)})

def info(request):
		return render (request, 'about.html' )