diff --git a/booking/models.py b/booking/models.py new file mode 100644 index 0000000..61f3d30 --- /dev/null +++ b/booking/models.py @@ -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