Skip to content
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.

Can't load fixture for model with VersionedManyToManyField #73

Open
ezheidtmann opened this issue Apr 24, 2015 · 1 comment
Open

Can't load fixture for model with VersionedManyToManyField #73

ezheidtmann opened this issue Apr 24, 2015 · 1 comment

Comments

@ezheidtmann
Copy link
Contributor

If I have a VersionedManyToManyField on a model, I can dump it to a fixture fine, but loaddata fails with this message from versions/models.py line 961:

Related values can only be directly set on the current version of an object

I'll follow up with more information and hopefully a solution.

@ezheidtmann
Copy link
Contributor Author

My solution for now is to delete all non-current models from my database before running ./manage.py dumpdata.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant