Attempt to fix Django == 1.7 issue