has_auto_field has been changed to needs_explicit_pk_field in django 1.6