polls/view.py: substituted HttpResponse() with render() in index(); implemented detail() to print question_text or give 404 error, and replaced try block with a get_object_or_404() shortcut
Completed part 3: Removing hardcoded URLs in templates, and namespacing URL names