how create composite primary key in django model code example
Example: primary key django model
class Garden(models.Model):
garden_id = models.IntegerField(primary_key=True)
class Garden(models.Model):
garden_id = models.IntegerField(primary_key=True)