Should enable it to continue to work on Django 1.5.