# Create your views here.

from django.http import HttpResponse
from django.http import HttpResponseRedirect

def index(request):
    return HttpResponse("Hello, world. You're at the poll index.")
	
# recall or note that %s means, "subsitute in a string"

def detail(request, poll_id):
    return HttpResponse("You're looking at poll <strong> %s. </strong>"  % ( poll_id,))

def results(request, poll_id):
    return HttpResponse("You're looking at the results of poll <strong> %s. </strong>" % (poll_id,))

def vote(request, poll_id):
    return HttpResponse("You're voting on poll <u> %s. </u>" % (poll_id,))
   
def redirect_to_polls(request):
    return HttpResponseRedirect('/polls/')
2ead00d76b6543bfcd19b9c2b2664a7d06382216
<mask token>


def results(request, poll_id):
    return HttpResponse(
        "You're looking at the results of poll <strong> %s. </strong>" % (
        poll_id,))


def vote(request, poll_id):
    return HttpResponse("You're voting on poll <u> %s. </u>" % (poll_id,))


def redirect_to_polls(request):
    return HttpResponseRedirect('/polls/')

<mask token>


def detail(request, poll_id):
    return HttpResponse("You're looking at poll <strong> %s. </strong>" % (
        poll_id,))


def results(request, poll_id):
    return HttpResponse(
        "You're looking at the results of poll <strong> %s. </strong>" % (
        poll_id,))


def vote(request, poll_id):
    return HttpResponse("You're voting on poll <u> %s. </u>" % (poll_id,))


def redirect_to_polls(request):
    return HttpResponseRedirect('/polls/')

<mask token>


def index(request):
    return HttpResponse("Hello, world. You're at the poll index.")


def detail(request, poll_id):
    return HttpResponse("You're looking at poll <strong> %s. </strong>" % (
        poll_id,))


def results(request, poll_id):
    return HttpResponse(
        "You're looking at the results of poll <strong> %s. </strong>" % (
        poll_id,))


def vote(request, poll_id):
    return HttpResponse("You're voting on poll <u> %s. </u>" % (poll_id,))


def redirect_to_polls(request):
    return HttpResponseRedirect('/polls/')

from django.http import HttpResponse
from django.http import HttpResponseRedirect


def index(request):
    return HttpResponse("Hello, world. You're at the poll index.")


def detail(request, poll_id):
    return HttpResponse("You're looking at poll <strong> %s. </strong>" % (
        poll_id,))


def results(request, poll_id):
    return HttpResponse(
        "You're looking at the results of poll <strong> %s. </strong>" % (
        poll_id,))


def vote(request, poll_id):
    return HttpResponse("You're voting on poll <u> %s. </u>" % (poll_id,))


def redirect_to_polls(request):
    return HttpResponseRedirect('/polls/')

# Create your views here.

from django.http import HttpResponse
from django.http import HttpResponseRedirect

def index(request):
    return HttpResponse("Hello, world. You're at the poll index.")
	
# recall or note that %s means, "subsitute in a string"

def detail(request, poll_id):
    return HttpResponse("You're looking at poll <strong> %s. </strong>"  % ( poll_id,))

def results(request, poll_id):
    return HttpResponse("You're looking at the results of poll <strong> %s. </strong>" % (poll_id,))

def vote(request, poll_id):
    return HttpResponse("You're voting on poll <u> %s. </u>" % (poll_id,))
   
def redirect_to_polls(request):
    return HttpResponseRedirect('/polls/')