Remove code to support Django 1.5