clips/gsoc2018

on_delete=models.

guydepauw opened this issue · 0 comments

To get it to work with newer versions of django, you apparently need to add

,on_delete=models.CASCADE

to the models such as

user = models.ForeignKey(User, null=True)

so:

user = models.ForeignKey(User, null=True, on_delete=models.CASCADE)

I am not sure about the .CASCADE part though, as I'm not sure exactly what it does.

Can you update to the latest version of django on your end and check what needs to be done?