Is this the correct way of making a primary key in django?? Answer No, That is not the correct way of making a primary key in Django, in fact you don’t have to specify a Primary key for your model, because django will automatically add a field to hold the primary key for you. In your settings.py file, you will