You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if a column of table had 'unique' and a few row of your import data got 'None' for it, django will complain the value of this column may not be NULL. This complaint stops bulk import. Nothing got imported.The solution is to try import one by one. Yes, it will be slow if you have large data.
So, unless you make sure no violation before import, you will not hit this issue and will enjoy the speed of bulk_create.
The text was updated successfully, but these errors were encountered:
if a column of table had 'unique' and a few row of your import data got 'None' for it, django will complain the value of this column may not be NULL. This complaint stops bulk import. Nothing got imported.The solution is to try import one by one. Yes, it will be slow if you have large data.
So, unless you make sure no violation before import, you will not hit this issue and will enjoy the speed of bulk_create.
The text was updated successfully, but these errors were encountered: