Attempt to patch for Django 1.4