Fixed #21302 -- Fixed unused imports and import *.

https://code.djangoproject.com/ticket/21302