Thanks Clueless for the initial patch. Note that unittest has been purposely left out (external package only used by Python 2.6).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13981 bcc190cf-cafb-0310-a4f2-bffc1f526a37