mirror of
https://github.com/django/django.git
synced 2024-12-26 19:16:11 +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',)
|