Add a patch for https://code.djangoproject.com/ticket/20030.