pyhton TypeError: __init__() missing 1 required positional argument: 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,
)