I have a model(VariationPrice) in my Django app which has many to many relation with other model(Variation). Under Django Admin VariationPrice, one sees the variations field with many Variations inside it. Is it possible to display the Variation id (Variation.id) along with the Variation name in many to many field of django admin?
class VariationPrice(models.Model):
price = models.IntegerField()
product = models.ForeignKey(Product, on_delete=models.CASCADE)
variations = models.ManyToManyField(Variation, blank=True)