Use PTY on manage.py tasks so that shell works properly