Fix missing PK field

Fix missing PK auto field.
https://github.com/django/django/commit/3aad955ea8db1592fad0012155eaa25b72e50dc5
https://code.djangoproject.com/ticket/13696