I have Prof:AssociateProf:AssistantProf = x:y:z in database and I have to do these operations x/(x+y+z) : y/(x+y+z) : z/(x+y+z) in django. Can anyone help me on this and models.py is
class Show(models.Model) :Total = models.IntegerField(default = 0)Prof = models.IntegerField(default = 0)AssociateProf = models.IntegerField(default = 0)AssistantProf = models.IntegerField(default = 0)ResearchScholar = models.IntegerField(default = 0)MTech = models.IntegerField(default = 0) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f40baf24-ffb0-418a-bd5e-269dc32ed45f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

