mirror of
https://github.com/django/django.git
synced 2024-12-27 03:25:58 +00:00
5ec1f0e150
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13881 bcc190cf-cafb-0310-a4f2-bffc1f526a37
11 lines
224 B
Python
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',)
|