Here is my model class:
class Player(models.Model):
name = models.CharField(max_length=50)
photo = models.ImageField()
games = models.IntegerField()
minutes = models.IntegerField()
points = models.IntegerField()
assists = models.IntegerField()
rebounds = models.IntegerField()
steals = models.IntegerField()
def __unicode__(self):
return self.name
I want to show one of these atributes randomly. What is the best way to do so?