Commit a0fb4c4a authored by Daniel W Bond's avatar Daniel W Bond

missed one of the models.cascade required

parent 4922e25c
......@@ -11,7 +11,8 @@ from core.models import Student
class Lookout(TimeStampedModel):
owner = models.ForeignKey(Student)
owner = models.ForeignKey(Student,
on_delete=models.CASCADE)
isbn = models.CharField(
max_length=20,
validators=[RegexValidator('[0-9xX-]{10,20}',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment