Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve potential name collision handling on taxonomy fixtures
`title` has a unique constraint in our DB, so we're relying on the randomness of Faker's sentence generator not to create duplicates. With `django_get_or_create` though, we can avoid the problem by not creating a new row if a duplicate name happens to be generated.
- Loading branch information