Bugfix to handle creation of nullables ManyToManyField #133

Merged
merged 2 commits into from Oct 23, 2013

Projects

None yet

2 participants

@berinhard
Collaborator

When upgrading from 1.0 version to 1.1, I found a bug that was enabling creation of a lot of ManyToManyFiedls with null flag assigned as True. This bug affected drastically my tests execution time and also made a few one breaks because they didn't expected the objects from m2m relationship to be created.

This pull request fixes it by refactoring a little the logic to determine m2m values.

Bernardo Fontes added some commits Oct 23, 2013
@vandersonmota vandersonmota merged commit 0b8a078 into vandersonmota:master Oct 23, 2013

1 check passed

default The Travis CI build passed
Details
@berinhard berinhard deleted the berinhard:bugfix/many2many-with-default-true branch Jun 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment