13 lines
338 B
Python
13 lines
338 B
Python
from django.db import models
|
|
|
|
|
|
class CatBreed(models.Model):
|
|
name = models.CharField(max_length=100)
|
|
country = models.CharField(max_length=100)
|
|
origin = models.CharField(max_length=100)
|
|
coat = models.CharField(max_length=100)
|
|
pattern = models.CharField(max_length=100)
|
|
|
|
class Meta:
|
|
db_table = "cat_breeds"
|