class Sandwich(models.Model):
adjective = models.CharField(max_length=200)
slug = models.SlugField()
date_made = models.DateField()
ingredients = models.ManyToManyField(Ingredient)
date_added = models.DateTimeField(default=datetime.datetime.now, editable=False)
class Sandwich(models.Model):
adjective = models.CharField(max_length=200)
slug = models.SlugField()
date_made = models.DateField()
ingredients = models.ManyToManyField(Ingredient)
date_added = models.DateTimeField(default=datetime.datetime.now, editable=False)