If all you use is redirect, you could `from django.shortcuts import redirect`.