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

Closed
opened 2021-10-20 10:31:33 +02:00 by debdolph · 8 comments
debdolph commented 2021-10-20 10:31:33 +02:00 (Migrated from edugit.org)

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".`
nik commented 2021-10-20 11:16:08 +02:00 (Migrated from edugit.org)

assigned to @hansegucker

assigned to @hansegucker
hansegucker commented 2021-10-20 20:58:48 +02:00 (Migrated from edugit.org)

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

Can you please show me the contents of your `django_site` table?
hansegucker commented 2021-10-26 17:01:53 +02:00 (Migrated from edugit.org)

@debdolph ?

@debdolph ?
hansegucker commented 2021-10-31 17:11:22 +01:00 (Migrated from edugit.org)

created merge request !131 to address this issue

created merge request !131 to address this issue
hansegucker commented 2021-10-31 17:11:25 +01:00 (Migrated from edugit.org)

mentioned in merge request !131

mentioned in merge request !131
hansegucker commented 2021-11-29 20:40:41 +01:00 (Migrated from edugit.org)

@debdolph Can you please add a full traceback?

@debdolph Can you please add a full traceback?
hansegucker commented 2021-12-10 17:01:53 +01:00 (Migrated from edugit.org)

assigned to @debdolph and unassigned @hansegucker

assigned to @debdolph and unassigned @hansegucker
debdolph commented 2021-12-19 21:36:03 +01:00 (Migrated from edugit.org)

Hmm… sadly i am unable to reproduce the error…

Hmm… sadly i am unable to reproduce the error…
debdolph (Migrated from edugit.org) closed this issue 2021-12-19 22:54:06 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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.