mirror of
https://github.com/django/django.git
synced 2024-11-20 00:14:08 +00:00
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',)
|