comoga/django-constance — pull request #13 by Bouke (2012-04-07 14:19:57+00:00)
Title: Key field should be primary key to enforce uniqueness and prevent race conditions

Today we had a situation where a new setting (after deployment) was added twice to the database and resulted in a lot of errors. Making the `key` field the primary key enforces uniqueness on the database and prevents such situations from happening.