diff options
author | Kevin Kubasik <kevin@kubasik.net> | 2009-09-08 17:36:43 +0000 |
---|---|---|
committer | Kevin Kubasik <kevin@kubasik.net> | 2009-09-08 17:36:43 +0000 |
commit | 3de5792e13d777c2beedea11bcc308f6c9df4ff9 (patch) | |
tree | 88a433f78b5f77ab1964162594d25f6a59e7a5d9 /tests/regressiontests/queries/models.py | |
parent | e2d14c075a51eb1f0b832765df8723d82f0afac4 (diff) | |
parent | bb9cc01b132dbde2461191dbb1035eaae4885051 (diff) | |
download | django-3de5792e13d777c2beedea11bcc308f6c9df4ff9.tar.gz |
[gsoc2009-testing] Massive merge update to trunk. This is to prep for uploadarchive/soc2009/test-improvementssoc2009/test-improvements
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/queries/models.py')
-rw-r--r-- | tests/regressiontests/queries/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/regressiontests/queries/models.py b/tests/regressiontests/queries/models.py index 0d28926149..cf21d5210b 100644 --- a/tests/regressiontests/queries/models.py +++ b/tests/regressiontests/queries/models.py @@ -67,6 +67,9 @@ class Author(models.Model): num = models.IntegerField(unique=True) extra = models.ForeignKey(ExtraInfo) + class Meta: + ordering = ['name'] + def __unicode__(self): return self.name |