makemigrations not working
javiermarcon opened this issue · comments
Hello, thanks for making this project. When I try to make the migrations to use it, I get this error:
TypeError: init() missing 1 required positional argument: 'on_delete'
Do you have any idea on what can be causing it?
Thanks.
This error is solved changing the model class:
class Track(models.Model):
album = models.ForeignKey('Album', on_delete=models.CASCADE)
number = models.IntegerField()
name = models.CharField(max_length=100)
Cheers, thanks
Updated 272fd7c