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
I have the similar problem as in issue #59. Importing data when id=auto-increment. Django 1.7
Following the advice, I added an empty 'id' column to my CSV. Now I get:
Line number: 1 - 'NoneType' object has no attribute 'id'
Traceback (most recent call last):
File "F:\dev\lib\site-packages\import_export\resources.py", line 337, in import_data
self.import_obj(instance, row, real_dry_run)
File "F:\dev\lib\site-packages\import_export\resources.py", line 203, in import_obj
self.import_field(field, obj, data)
AttributeError: 'NoneType' object has no attribute 'id'
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Previous issue is closed.
I have the similar problem as in issue #59. Importing data when id=auto-increment. Django 1.7
Following the advice, I added an empty 'id' column to my CSV. Now I get:
Line number: 1 - 'NoneType' object has no attribute 'id'
Traceback (most recent call last):
File "F:\dev\lib\site-packages\import_export\resources.py", line 337, in import_data
self.import_obj(instance, row, real_dry_run)
File "F:\dev\lib\site-packages\import_export\resources.py", line 203, in import_obj
self.import_field(field, obj, data)
AttributeError: 'NoneType' object has no attribute 'id'
The text was updated successfully, but these errors were encountered: