alex/django-taggit — pull request #175 by fabiant7t (2013-12-12 13:27:18+00:00)
Title: Set TagBase's name field as well when resolving duplicate entries.

IntegrityErrors only get auto-resolved by adding a numeric value in both the slug and the name field, since they both are defined to be unique. This change fixes an infinite loop (in MySQL with InnoDB as the storage engine).

Fixes https://github.com/alex/django-taggit/issues/174. Tests are passing with MySQL/InnoDB now and never finished running before. With sqlite3 as the storage engine, the tests are passing as they did before.