[1.0.x] There's no Python 2.6 support in Django 1.7

(cherry picked from commit fe48811cc8f0a812baed3cb6655713e7c134f6d6)