﻿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
1710	Tutorial 4 Unneeded Import	polarcowz@…	Jacob	"The current version (SVN Revision 2766) of Tutorial 4 in the ""docs/"" folder has an unneeded and possibly confusing import.  The importing of Http404 from a previous example is still taking place, even though all the code that was using it in earlier examples has been updated to use the shortcut ""get_object_or_404"".


{{{
So let's create a ``vote()`` function in ``mysite/polls/views.py``::

    from django.shortcuts import get_object_or_404, render_to_response
    from django.http import Http404,HttpResponseRedirect
}}}"	defect	closed	Documentation	magic-removal	normal	fixed			Unreviewed	0	0	0	0	0	0
