"id" vs "pk" in django orm query [duplicate]

What is the actual difference between "id" and "pk" in Django, and which one is more preferable to use?

Student.objects.get(id=20)
Student.objects.get(pk=20)
Back to Top