preserved django 1.4 compatibility by taking only what we need from six