Add Species model

This commit is contained in:
Gergely Polonkai 2014-12-22 14:22:38 +01:00 committed by Gergely Polonkai
parent 4709655808
commit 80e26b9e0d

9
booking/models.py Normal file
View File

@ -0,0 +1,9 @@
from django.db import models
class Species(models.Model):
"""Model to hold the Ducks species"""
name = models.CharField(max_length = 40, unique = True)
def __str__(self):
return self.name