viewflow/cookbook

Action on_delete needed

lantonov opened this issue · 3 comments

In the Blood Test model (model.py) classes BloodSample, Biochemistry, TumorMarkers, Hormones, BloodTestProcess require a second argument on_delete = for ForeignKey() and OneToOneField() functions

Thanks for the notice, I need to update cookbook for Django 2.0

I suppose it is on_delete=models.CASCADE

Updated