notejam icon indicating copy to clipboard operation
notejam copied to clipboard

TypeError: __init__() missing 1 required positional argument: 'on_delete'

Open 1160545 opened this issue 5 years ago • 1 comments

I am getting this error when i am running manage.py migration command please help me

1160545 avatar Jun 01 '20 06:06 1160545

I have tried this models.ForeignKey(Board, on_delete=models.CASCADE, related_name='topics') but not able to resolve the error.

1160545 avatar Jun 01 '20 06:06 1160545