I have inserted data into table from postgresql directly. Now when I try to insert data from django application, it's generating primary key duplication error. How can I resolve this issue?
I think problem is not in database. please check your django code probably you use get_or_create
i have 600 records in my postgres database, now when i inserted from django it's generating primary duplication error