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
{{ message }}
This repository has been archived by the owner on May 11, 2019. It is now read-only.
Currently, I'm having a hard time doing something like: python manage.py dumpdata taxii_services > data.json
then python manage.py loaddata data.json
because I get the following error: Could not load taxii_services.ContentBindingSubtype(pk=1): columns content_binding_id, subtype_id are not unique
I'm thinking the root cause might be because the post_save hooks for ContentBinding and ContentBindingSubtype do not properly account for the fact that the ContentBindingAndSubtype might already exist.
The text was updated successfully, but these errors were encountered:
... and now I'm having trouble replicating the issue.
I'm thinking that changing the functions to use get_or_create would remediate the issue. However, I can't replicate the issue so I'm not going to fix it right now.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, I'm having a hard time doing something like:
python manage.py dumpdata taxii_services > data.json
then
python manage.py loaddata data.json
because I get the following error:
Could not load taxii_services.ContentBindingSubtype(pk=1): columns content_binding_id, subtype_id are not unique
I'm thinking the root cause might be because the post_save hooks for ContentBinding and ContentBindingSubtype do not properly account for the fact that the ContentBindingAndSubtype might already exist.
The text was updated successfully, but these errors were encountered: