Russell Keith-Magee 3a66f15a68 [1.2.X] Migrated admin_ordering doctests. Thanks to Sebastian Hillig.
Backport of r13881 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:26:29 +00:00

11 lines
224 B
Python

# coding: utf-8
from django.db import models
class Band(models.Model):
name = models.CharField(max_length=100)
bio = models.TextField()
rank = models.IntegerField()
class Meta:
ordering = ('name',)