Fix a depreciation warning in Django 1.5