bug 873833 - update the imports of the url pattern functions for Django>=1.4.