I have the following Model in django.
class Choices(models.Model):
question = models.CharField(max_length=200)
option1 = models.CharField(max_length=200)
option2 = models.CharField(max_length=200)
option3 = models.CharField(max_length=200)
I would like to display in my template the element of option2 field with id=1. Is there a way I can do this?
Thank you.