Remove several code paths exclusive to Django 1.4