from django.http import HttpResponse
from django.shortcuts import render_to_response

def index(request):
    return render_to_response('addressbook/index.html', {} )
from django.http import HttpResponse
from django.shortcuts import render_to_response
from django.views.generic.simple import direct_to_template

def index(request):
    return direct_to_template(
        request,
        template = 'addressbook/index.html',
    )
use django generic views so that RequestContext is added