﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
23000	Wrong path when refereing to the index.html template	maximo.martinez@…	nobody	"When updating the view in order to reference the newly created template. Loader is asked to load 'polls/index.html'. However, it throws an exception. Since it's looking for it in the projects folder. It's supposed to be 'index.html'.


{{{
from django.http import HttpResponse
from django.template import RequestContext, loader

from polls.models import Poll

def index(request):
    latest_poll_list = Poll.objects.order_by('-pub_date')[:5]
    template = loader.get_template('polls/index.html')
    context = RequestContext(request, {
        'latest_poll_list': latest_poll_list,
    })
    return HttpResponse(template.render(context))
}}}"	Bug	closed	Documentation	1.6	Normal	invalid			Unreviewed	0	0	0	0	1	0
