Use django's six module