Django-import-export id auto generated by the package during insert?

I'm using django-import-export and trying to work it with multi-thread concurrency.

I tried logging the sql queries and notice that INSERT query has id values generated as well.

 INSERT INTO "lprovider" ("id", "npi", "provider_id", "first_name", "last_name") VALUES (278082, '1345', NULL, 'CHARLES', 'STEVENS')

Is it expected? The package self populates the primary key?

Вернуться на верх