mirror of
https://github.com/django/django.git
synced 2025-05-04 06:04:38 +00:00
Backpatch of f556df90be995a83b979cf875705d98521ab4dc7. Backpatching these tests so that it will be easier to backpatch the fix for #19707.
12 lines
200 B
Python
12 lines
200 B
Python
from django.db import models
|
|
|
|
|
|
class Band(models.Model):
|
|
name = models.CharField(max_length=100)
|
|
|
|
class Meta:
|
|
ordering = ('name',)
|
|
|
|
def __unicode__(self):
|
|
return self.name
|