Sunday, September 1, 2019

How to Sum subtract and multiply two integer fields

class Add(models.Model):     budget = models.IntegerField()     Expense = models.IntegerField()

Now I would like to do a complete calculation for example   budget - Expense and budget + expense. Kindly hel me. 

--
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 django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6950e16b-c064-4219-b45d-d584e29ec565%40googlegroups.com.

No comments:

Post a Comment