Fix compat with django 1.7 in the admin