Index: tests/modeltests/validation/models.py
===================================================================
--- tests/modeltests/validation/models.py	(revision 7299)
+++ tests/modeltests/validation/models.py	(working copy)
@@ -17,6 +17,9 @@
     favorite_moment = models.DateTimeField()
     email = models.EmailField()
 
+    class Meta:
+        unique_together = ("name", "email")
+    
     def __unicode__(self):
         return self.name
 
@@ -150,4 +153,15 @@
 >>> Person(name='John Doe', is_child=True, email='abc@def.com').validate()
 {'favorite_moment': [u'This field is required.'], 'birthdate': [u'This field is required.']}
 
+# check if unique_together lets us create persons which only differ by the case.
+# This test will pass under sqlite but fail with mysql 
+>>> p = Person.objects.create(**valid_params)
+>>> p
+<Person: John>
+
+>>> valid_params['name'] = 'JoHn'
+>>> p = Person.objects.create(**valid_params)
+>>> p
+<Person: JoHn>
+
 """}
