TypeError: __init__() missing 2 required positional arguments: code example
Example: TypeError: __init__() missing 1 required positional argument: 'on_delete'
categorie = models.ForeignKey(
'Categorie',
on_delete=models.CASCADE,
)
categorie = models.ForeignKey(
'Categorie',
on_delete=models.CASCADE,
)