onetoonefield primary key django 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)