2 small optimizations: a) move an import out of a function, b) remove a cache that did nothing, tiny tiny speed up on CPython, but a big one on PyPy
2 small optimizations: a) move an import out of a function, b) remove a cache that did nothing, tiny tiny speed up on CPython, but a big one on PyPy

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15175 bcc190cf-cafb-0310-a4f2-bffc1f526a37

--HG--
extra : convert_revision : d8bb1573a3efa09ee0b4525a491d7c5f787cec36

heracek/django-nonrel,adieu/django-nonrel,heracek/django-nonrel,adieu/django-nonrel,adieu/django-nonrel,heracek/django-nonrel