A non-unique primary key allows the same value to be used for multiple records thus multiple results could be returned for
A primary key is used to uniquely identify each record in the Model's database table.
primary_key=True denotes the field is the primary key for the model.
primary_key=True implies null=False and unique=True.
If our GitHub code review bot spots this issue in your pull request it gives this advice:
Code Review Doctor will run this check by default. No configuration is needed but the check can be turned on/off using check code
non-unique-primary in your pyproject.toml file.