I\'m kind of new to webapps and database stuff in general so this might be a dumb question. I want to make a model (\"CategoryModel\") with a field that points to the primar
You also to sett null=True and blank=True
class CategoryModel(models.Model): parent = models.ForeignKey("self", on_delete=models.CASCADE, null=True, blank=True)
null=True, to allow in database blank=True, to allow in form validation