Removed obsolete imports for compatibility with Django 1.5.1