mirror of https://github.com/django/django.git
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',)
|