diff --git a/tests/modeltests/model_forms/models.py b/tests/modeltests/model_forms/models.py
index 2e820a6779..d4c915344f 100644
--- a/tests/modeltests/model_forms/models.py
+++ b/tests/modeltests/model_forms/models.py
@@ -39,6 +39,9 @@ class Category(models.Model):
class Writer(models.Model):
name = models.CharField(max_length=50, help_text='Use both first and last names.')
+ class Meta:
+ ordering = ('name',)
+
def __unicode__(self):
return self.name
@@ -546,8 +549,8 @@ fields with the 'choices' attribute are represented by a ChoiceField.