Action on_delete needed
lantonov opened this issue · 3 comments
lantonov commented
In the Blood Test model (model.py) classes BloodSample, Biochemistry, TumorMarkers, Hormones, BloodTestProcess require a second argument on_delete = for ForeignKey() and OneToOneField() functions
kmmbvnr commented
Thanks for the notice, I need to update cookbook for Django 2.0
lantonov commented
I suppose it is on_delete=models.CASCADE
kmmbvnr commented
Updated