Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with Django 2: TypeError: Direct assignment to the forward side of a many-to-many set is prohibited. #104

Open
davethecipo opened this issue Jan 10, 2018 · 3 comments

Comments

@davethecipo
Copy link

Hi,
I'm very new to Django and to this plugin too, so please be patient.

I wanted to report this error when using the package with Django 2. I have a minimal working example here. The error can be reproduced following these steps

git clone https://github.com/davethecipo/autofixture-django2-bug.git
cd autofixture-django2-bug
python3 -m venv venv35
## activate virtual environment, then run
cd project
pip install -r requirements.txt
./run.sh
@erayerdin
Copy link

(Sorry, misclicked and deleted.)

Probably related to #103.

@jamiecounsell
Copy link

#107 fixes this - I've created a subclass of AutoFixture with those changes in the meantime. It seems like the CI failures for #107 are mostly build issues with Travis' change to the build agents. I've had a ton of issues with them removing certain python versions from the base image.

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

No branches or pull requests

4 participants