I recently imported a lot of data from an old database into a new Postgresql database as the basis for models in a new Django site.
I used the IDs from the old datab
select setval('django_comments_id_seq', 12345);