insert or update on table "csv_import_importtemplate" violates foreign key constraint #27

Closed
opened 2021-10-20 10:31:33 +02:00 by tteichler · 8 comments
Owner

django.db.utils.IntegrityError: insert or update on table "csv_import_importtemplate" violates foreign key constraint "csv_import_importtemplate_site_id_a631dfb1_fk_django_site_id" DETAIL: Key (site_id)=(1) is not present in table "django_site".

`django.db.utils.IntegrityError: insert or update on table "csv_import_importtemplate" violates foreign key constraint "csv_import_importtemplate_site_id_a631dfb1_fk_django_site_id" DETAIL: Key (site_id)=(1) is not present in table "django_site".`
Owner

assigned to @hansegucker

assigned to @hansegucker
Owner

Can you please show me the contents of your django_site table?

Can you please show me the contents of your `django_site` table?
Owner

@debdolph ?

@debdolph ?
Owner

created merge request !131 to address this issue

created merge request !131 to address this issue
Owner

mentioned in merge request !131

mentioned in merge request !131
Owner

@debdolph Can you please add a full traceback?

@debdolph Can you please add a full traceback?
Owner

assigned to @debdolph and unassigned @hansegucker

assigned to @debdolph and unassigned @hansegucker
Author
Owner

Hmm… sadly i am unable to reproduce the error…

Hmm… sadly i am unable to reproduce the error…
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aleksis/AlekSIS-App-CSVImport#27
No description provided.