IntegrityError en el valor de clave duplicada viola el detalle de restricción único: la identificación de clave ya existe.

# Reset the counter of a table named yourTable to start at id # 1453
ALTER SEQUENCE yourTable_id_seq RESTART WITH 1453
Trained Tuna